mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Using 1 and 0 instead of true and false for config export
This commit is contained in:
parent
d487092d84
commit
202904f1f9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user