diff --git a/SQF/dayz_code/compile/fn_localizeMessage.sqf b/SQF/dayz_code/compile/fn_localizeMessage.sqf index 63d0e63f7..090c31905 100644 --- a/SQF/dayz_code/compile/fn_localizeMessage.sqf +++ b/SQF/dayz_code/compile/fn_localizeMessage.sqf @@ -15,8 +15,10 @@ if (_type in _multiArray) then { _index = _forEachIndex; if (typeName _x == "ARRAY") then { { - if (["STR_",_x] call fnc_inString) then { - (_message select _index) set [_forEachIndex, localize _x]; + if (typeName _x == "STRING") then { + if (["STR_",_x] call fnc_inString) then { + (_message select _index) set [_forEachIndex, localize _x]; + }; }; } forEach _x; _message set [_index, format _x];