func_escapezone/func_vip_safetyzone: deactivate flashlight upon entering
This commit is contained in:
parent
2d51a765b7
commit
b64bdc049a
2 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue