Remove some pp effects while in spectator (#5846)

Closes #5708
This commit is contained in:
SilentSpike 2017-12-03 16:35:51 +00:00 committed by GitHub
parent 82aa953e66
commit e0ae842ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,15 @@ while {dialog} do {
closeDialog 0; 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 // Note that init and destroy intentionally happen in reverse order
// Init: Vars > Display > UI Stuff // Init: Vars > Display > UI Stuff
// Destroy: UI Stuff > Display > Vars // Destroy: UI Stuff > Display > Vars