Using 1 and 0 instead of true and false for config export

This commit is contained in:
Glowbal 2015-04-05 10:32:40 +02:00
parent d487092d84
commit 202904f1f9

View File

@ -43,7 +43,9 @@ _compiledConfig = "
if (_typeName == "STRING") then { // I dont think we have string values, but just in case
_value = format['"%1"', _value];
};
if (_typeName == "BOOL") then {
_value = if (typeOf _value == "BOOL" && {_value}) then {1} else {0};
};
_compiledConfigEntry = format ["
class %1 {
value = %2;