This commit is contained in:
Glowbal 2015-08-08 11:51:31 +02:00
parent 10169276a2
commit 38b9fdab4d

View File

@ -40,7 +40,8 @@ private ["_compiledConfig", "_name", "_typeName", "_isClientSetable", "_localize
if (GVAR(ClientSettingsExportIncluded) || !_isClientSetable) then {
_value = missionNamespace getvariable [_name, _defaultValue];
if (_typeName == "STRING") then { // I dont think we have string values, but just in case
if (_typeName == "STRING") then {
_value = [_value, '"', "'"] call CBA_fnc_replace; // TODO improve the quotation replacement
_value = format['"%1"', _value];
};
if (_typeName == "BOOL") then {