From 52d703c2ebb1838518241eb298c7063dd87cf828 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Sun, 4 Oct 2015 16:19:47 +0100 Subject: [PATCH] Improve spectator seagull handling Previously they were only hidden, but this didn't account for the annoying audio they play so now they're entirely staged like a spectator unit would be. --- addons/spectator/functions/fnc_respawnTemplate.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/spectator/functions/fnc_respawnTemplate.sqf b/addons/spectator/functions/fnc_respawnTemplate.sqf index d903e3ecc4..4584a1fc3c 100644 --- a/addons/spectator/functions/fnc_respawnTemplate.sqf +++ b/addons/spectator/functions/fnc_respawnTemplate.sqf @@ -34,7 +34,7 @@ _pos = (getPosATL _unit) vectorAdd [0,0,5]; // Enter/exit spectator based on the respawn type and whether killed/respawned if (alive _unit) then { if (_respawn == 1) then { - [_unit,QGVAR(isSeagull)] call EFUNC(common,hideUnit); + [_unit] call FUNC(stageSpectator); [2,_killer,_vision,_pos,getDir _unit] call FUNC(setCameraAttributes); [true] call FUNC(setSpectator); } else {