From d09209140d10f75fcd19e07011217708e8e44c44 Mon Sep 17 00:00:00 2001 From: y0014984 Date: Tue, 22 Aug 2023 12:28:09 +0200 Subject: [PATCH] changed remoteExec to remoteExecCall --- addons/main/functions/fnc_executeForPlayersInRange.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/main/functions/fnc_executeForPlayersInRange.sqf b/addons/main/functions/fnc_executeForPlayersInRange.sqf index c55ed28..10c5b64 100644 --- a/addons/main/functions/fnc_executeForPlayersInRange.sqf +++ b/addons/main/functions/fnc_executeForPlayersInRange.sqf @@ -21,11 +21,11 @@ if ((count _playersInRange) == 0) exitWith {}; // use remoteExec if _fnc is type "string" if ((typeName _fnc) isEqualTo "STRING") then { - _args remoteExec [_fnc, _playersInRange]; + _args remoteExecCall [_fnc, _playersInRange]; }; // use a remote executed "call" if _fnc is type "code" if ((typeName _fnc) isEqualTo "CODE") then { - [_args, _fnc] remoteExec ["call", _playersInRange]; + [_args, _fnc] remoteExecCall ["call", _playersInRange]; }; \ No newline at end of file