Remove Debug from scenario dialog
This commit is contained in:
parent
f0aa44c834
commit
d006f00cd4
1 changed files with 1 additions and 4 deletions
|
@ -203,11 +203,9 @@
|
|||
|
||||
var path = getprop("/sim/fg-root") ~ "/AI";
|
||||
scenarios = [];
|
||||
i=0;
|
||||
|
||||
foreach(var s; props.globals.getNode("sim/ai/scenarios",1).getChildren("scenario")){
|
||||
append(scenarios, s);
|
||||
print(s.getNode("name").getValue()); i+=1;
|
||||
|
||||
}
|
||||
# sort the scenarios into alpha order.
|
||||
scenarios = sort (scenarios, func (a,b) {cmp(a.getNode("name").getValue(), b.getNode("name").getValue());});
|
||||
|
@ -219,7 +217,6 @@ print(s.getNode("name").getValue()); i+=1;
|
|||
col = 0;
|
||||
|
||||
for(i=0;i<size(scenarios);i += 1) {
|
||||
print(i," -- ",scenarios[i].getNode("name").getValue());
|
||||
processScenario( i, col, scenarios[i]);
|
||||
coli += 1;
|
||||
if (coli > colsz){
|
||||
|
|
Loading…
Add table
Reference in a new issue