Skip to content

Commit

Permalink
fix _distance issue
Browse files Browse the repository at this point in the history
  • Loading branch information
OverlordZorn committed Jan 5, 2025
1 parent 60da38e commit 4824a40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addons/network/fnc_globalSay3d.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit 4824a40

Please sign in to comment.