mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Prevent non-string values from being checked by fnc_inString
This commit is contained in:
@@ -15,8 +15,10 @@ if (_type in _multiArray) then {
|
|||||||
_index = _forEachIndex;
|
_index = _forEachIndex;
|
||||||
if (typeName _x == "ARRAY") then {
|
if (typeName _x == "ARRAY") then {
|
||||||
{
|
{
|
||||||
if (["STR_",_x] call fnc_inString) then {
|
if (typeName _x == "STRING") then {
|
||||||
(_message select _index) set [_forEachIndex, localize _x];
|
if (["STR_",_x] call fnc_inString) then {
|
||||||
|
(_message select _index) set [_forEachIndex, localize _x];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
} forEach _x;
|
} forEach _x;
|
||||||
_message set [_index, format _x];
|
_message set [_index, format _x];
|
||||||
|
|||||||
Reference in New Issue
Block a user