diff --git a/SQF/dayz_server/init/server_functions.sqf b/SQF/dayz_server/init/server_functions.sqf index 1b3b3bdd7..41ec5d799 100644 --- a/SQF/dayz_server/init/server_functions.sqf +++ b/SQF/dayz_server/init/server_functions.sqf @@ -175,6 +175,10 @@ dayz_objectUID2 = { _dir = _this select 0; _key = ""; _position = _this select 1; + if ((typeName _dir) == "STRING") then { + _dir = call (compile _dir); + _position = call (compile _position); + }; { _x = _x * 10; if (_x < 0) then { _x = _x * -10 };