From eddcf02ab3ee8b38e010a744bdba6e8d0d3cfaea Mon Sep 17 00:00:00 2001 From: icomrade Date: Mon, 2 May 2016 21:06:44 -0400 Subject: [PATCH] Precise Base Building fix --- SQF/dayz_server/init/server_functions.sqf | 4 ++++ 1 file changed, 4 insertions(+) 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 };