1
0
Fork 0

Fix warning message when terrasync is not available.

This commit is contained in:
ThorstenB 2012-11-11 15:02:12 +01:00
parent 37bcf878c7
commit 78ca4facfd

View file

@ -444,7 +444,7 @@
<nasal>
<open><![CDATA[
var msg = "";
if (getprop("/sim/terrasync/built-in-svn-available",0))
if (getprop("/sim/terrasync/built-in-svn-available") == 0)
{
msg = "Sorry, this binary was built without support to download scenery.";
setprop("/sim/terrasync/enabled", 0);
@ -469,7 +469,7 @@
}
# Add error text if the user only has fg-data/Scenery available and disable controls.
if (! valid) {
if (!valid) {
var warning = cmdarg().getChildren("group")[1].getChildren("text")[1];
var txt = "You must configure a separate FG_SCENERY directory for automatic scenery download";
warning.getNode("label").setValue(txt);