From 950aec38b7e09df1f676fa8681be6c3264d13129 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Sun, 5 Jul 2015 01:01:27 +0100 Subject: [PATCH] Fixed macro --- addons/spectator/functions/fnc_setSpectator.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/spectator/functions/fnc_setSpectator.sqf b/addons/spectator/functions/fnc_setSpectator.sqf index 9940950198..83f0c8aeb8 100644 --- a/addons/spectator/functions/fnc_setSpectator.sqf +++ b/addons/spectator/functions/fnc_setSpectator.sqf @@ -65,9 +65,9 @@ if (["task_force_radio"] call EFUNC(common,isModLoaded)) then {[_unit, _set] cal // Spectators ignore damage (vanilla and ace_medical) _unit allowDamage !_set; -_unit setVariable [QGVAR(medical,allowDamage), !_set]; +_unit setVariable [QEGVAR(medical,allowDamage), !_set]; // Mark spectator state for external reference -_unit setVariable [QGVAR(isSpectator),_set]; +_unit setVariable [QGVAR(isSpectator), _set]; ["spectatorChanged",[_set]] call EFUNC(common,localEvent);