From 4824a40af127fcb04320728962517eae65a67fc5 Mon Sep 17 00:00:00 2001 From: OverlordZorn Date: Sun, 5 Jan 2025 20:35:08 +0100 Subject: [PATCH] fix _distance issue --- addons/network/fnc_globalSay3d.sqf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/network/fnc_globalSay3d.sqf b/addons/network/fnc_globalSay3d.sqf index febe02519c..bc414b1a25 100644 --- a/addons/network/fnc_globalSay3d.sqf +++ b/addons/network/fnc_globalSay3d.sqf @@ -30,9 +30,8 @@ if (_objects isEqualType objNull) then { _objects = [_objects]; }; -if (!isNil "_distance") then { - _params = [_params, _distance]; -}; +if (_params isEqualType "") then { _params = [_params]; }; +if (!isNil "_distance") then { _params set [1, _distance]; }; { [_x, _params] remoteExecCall ["say3D"];