From 29cd940fd0bd15d1004435a2591aa56369dcd06a Mon Sep 17 00:00:00 2001 From: GitHawk Date: Mon, 7 Mar 2016 07:15:01 +0100 Subject: [PATCH] Added server events --- addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf | 2 +- addons/rearm/functions/fnc_rearmSuccess.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf b/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf index ccce6eec57..87145eccea 100644 --- a/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf +++ b/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf @@ -30,5 +30,5 @@ if (isServer) then { }; } count REARM_TURRET_PATHS; } else { - [_this, QFUNC(rearmEntireVehicleSuccess), 1] call EFUNC(common,execRemoteFnc); + [QGVAR(rearmEntireVehicleSuccessLocalEH), _this] call EFUNC(common,serverEvent); }; diff --git a/addons/rearm/functions/fnc_rearmSuccess.sqf b/addons/rearm/functions/fnc_rearmSuccess.sqf index 7db711edfd..003689c00b 100644 --- a/addons/rearm/functions/fnc_rearmSuccess.sqf +++ b/addons/rearm/functions/fnc_rearmSuccess.sqf @@ -38,5 +38,5 @@ if (isServer) then { [QGVAR(rearmSuccessLocalEH), _turretOwnerID, _this] call EFUNC(common,targetEvent); }; } else { - [_this, QFUNC(rearmSuccess), 1] call EFUNC(common,execRemoteFnc); + [QGVAR(rearmSuccessLocalEH), _this] call EFUNC(common,serverEvent); };