Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Bugfixes and Minor Enhancements #391

Merged
merged 13 commits into from
Aug 22, 2023
Merged
Prev Previous commit
changed remoteExec to remoteExecCall
y0014984 committed Aug 22, 2023
commit d09209140d10f75fcd19e07011217708e8e44c44
4 changes: 2 additions & 2 deletions addons/main/functions/fnc_executeForPlayersInRange.sqf
Original file line number Diff line number Diff line change
@@ -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];
};