Skip to content

Commit

Permalink
fixed typeOf instead of typeName
Browse files Browse the repository at this point in the history
  • Loading branch information
thojkooi committed Apr 6, 2015
1 parent befb52e commit 83c6705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/optionsmenu/functions/fnc_exportSettings.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _compiledConfig = "
_value = format['"%1"', _value];
};
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 ["
class %1 {
Expand Down

0 comments on commit 83c6705

Please sign in to comment.