mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixes #1948
This commit is contained in:
parent
10169276a2
commit
38b9fdab4d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user