From e0ae842ff00ec3889482a6554409b016e23d6ff0 Mon Sep 17 00:00:00 2001 From: SilentSpike Date: Sun, 3 Dec 2017 16:35:51 +0000 Subject: [PATCH] Remove some pp effects while in spectator (#5846) Closes #5708 --- addons/spectator/functions/fnc_ui.sqf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/addons/spectator/functions/fnc_ui.sqf b/addons/spectator/functions/fnc_ui.sqf index 1986684109..8fe9339153 100644 --- a/addons/spectator/functions/fnc_ui.sqf +++ b/addons/spectator/functions/fnc_ui.sqf @@ -30,6 +30,15 @@ while {dialog} do { closeDialog 0; }; +// Controls some PP effects, but a little unclear which +BIS_fnc_feedback_allowPP = !_init; + +// Removes death blur if present +if !(isNil "BIS_DeathBlur") then { + BIS_DeathBlur ppEffectAdjust [0]; + BIS_DeathBlur ppEffectCommit 0; +}; + // Note that init and destroy intentionally happen in reverse order // Init: Vars > Display > UI Stuff // Destroy: UI Stuff > Display > Vars