mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed typeOf instead of typeName
This commit is contained in:
parent
befb52e855
commit
83c670576b
@ -44,7 +44,7 @@ _compiledConfig = "
|
|||||||
_value = format['"%1"', _value];
|
_value = format['"%1"', _value];
|
||||||
};
|
};
|
||||||
if (_typeName == "BOOL") then {
|
if (_typeName == "BOOL") then {
|
||||||
_value = if (typeOf _value == "BOOL" && {_value}) then {1} else {0};
|
_value = if (typeName _value == "BOOL" && {_value}) then {1} else {0};
|
||||||
};
|
};
|
||||||
_compiledConfigEntry = format ["
|
_compiledConfigEntry = format ["
|
||||||
class %1 {
|
class %1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user