remove unnecessary userarchive flags from defaults.xml
This commit is contained in:
parent
e8bf5dfccb
commit
4108652c94
2 changed files with 12 additions and 12 deletions
|
@ -27,11 +27,11 @@ var loadDefaultsNasal = func {
|
|||
if (defaults != nil) {
|
||||
defaults = defaults.getNode("PropertyList/nasal");
|
||||
foreach (var mod; defaults.getChildren()) {
|
||||
var enabled = mod.getNode("enabled");
|
||||
var enabled = mod.getNode("enabled",1);
|
||||
if (string.lc(enabled.getValue()) == "true") enabled.setIntValue(1);
|
||||
else enabled.setIntValue(0);
|
||||
enabled.setAttribute("userarchive",
|
||||
(mod.getNode("enabled/___userarchive").getValue() == "y")
|
||||
(mod.getNode("enabled/___userarchive",1).getValue() == "y")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
20
defaults.xml
20
defaults.xml
|
@ -1336,7 +1336,7 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
</logging>
|
||||
<nasal>
|
||||
<tutorial>
|
||||
<enabled type="bool" userarchive="n">false</enabled>
|
||||
<enabled type="bool">false</enabled>
|
||||
</tutorial>
|
||||
<local_weather>
|
||||
<enabled type="bool" userarchive="y">false</enabled>
|
||||
|
@ -1345,31 +1345,31 @@ Started September 2000 by David Megginson, david@megginson.com
|
|||
<enabled type="bool" userarchive="y">false</enabled>
|
||||
</jetways>
|
||||
<jetways_edit>
|
||||
<enabled type="bool" userarchive="n">false</enabled>
|
||||
<enabled type="bool">false</enabled>
|
||||
</jetways_edit>
|
||||
<performance_monitor>
|
||||
<enabled type="bool" userarchive="n">false</enabled>
|
||||
<enabled type="bool">false</enabled>
|
||||
</performance_monitor>
|
||||
<FailureMgr>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</FailureMgr>
|
||||
<canvas>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</canvas>
|
||||
<console>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</console>
|
||||
<input_helpers>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</input_helpers>
|
||||
<modules>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</modules>
|
||||
<std>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</std>
|
||||
<towing>
|
||||
<enabled type="bool" userarchive="n">true</enabled>
|
||||
<enabled type="bool">true</enabled>
|
||||
</towing>
|
||||
</nasal>
|
||||
<scenery>
|
||||
|
|
Loading…
Reference in a new issue