diff --git a/Sources/epoch_config/Configs/CfgFunctions.hpp b/Sources/epoch_config/Configs/CfgFunctions.hpp index fc9954c3..d53589ea 100644 --- a/Sources/epoch_config/Configs/CfgFunctions.hpp +++ b/Sources/epoch_config/Configs/CfgFunctions.hpp @@ -24,6 +24,10 @@ class cfgFunctions tag = "EPOCH"; class functions { + class arrayToLogic + { + file = "epoch_code\compile\functions\EPOCH_fnc_arrayToLogic.sqf"; + }; class returnConfigEntryV2 { file = "epoch_code\compile\functions\EPOCH_fn_returnConfigEntryV2.sqf"; diff --git a/Sources/epoch_server/compile/epoch_server/EPOCH_server_createTeleport.sqf b/Sources/epoch_server/compile/epoch_server/EPOCH_server_createTeleport.sqf index 8bca6fbf..95141bfb 100644 --- a/Sources/epoch_server/compile/epoch_server/EPOCH_server_createTeleport.sqf +++ b/Sources/epoch_server/compile/epoch_server/EPOCH_server_createTeleport.sqf @@ -124,7 +124,7 @@ if !(_debugBox isEqualTo "") then { }; if !(_useWorldPos) then { - _pos1 = _debug modelToWorld _pos1; + _pos1 = asltoatl (_debug modeltoworldworld _pos1); }; _exitClass = _x select 2;