func_escapezone/func_vip_safetyzone: deactivate flashlight upon entering

This commit is contained in:
Marco Cawthorne 2023-03-01 23:09:25 -08:00
parent 2d51a765b7
commit b64bdc049a
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,7 @@ func_escapezone::Touch(entity eToucher)
/* mark player as spectator for the end of this 'round' */
pl.MakeTempSpectator();
pl.gflags &= ~GF_FLASHLIGHT;
/* threshold has been met to trigger the end of the round */
if (rule.m_iEscapedTerrorists >= to_escape) {

View File

@ -65,4 +65,5 @@ func_vip_safetyzone::Touch(entity eToucher)
/* mark player as spectator for the end of this 'round' */
pl.MakeTempSpectator();
pl.gflags &= ~GF_FLASHLIGHT;
}