From ffcc34ae635608b2c701b2e5d609a247b2e1a537 Mon Sep 17 00:00:00 2001 From: dusty-qw <71472647+dusty-qw@users.noreply.github.com> Date: Thu, 7 Dec 2023 13:37:24 -0800 Subject: [PATCH] WIPEOUT: fix bug allowing dead players to get hurt --- src/clan_arena.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clan_arena.c b/src/clan_arena.c index 676a20f0..0bb82e2f 100644 --- a/src/clan_arena.c +++ b/src/clan_arena.c @@ -1279,7 +1279,7 @@ void CA_player_pre_think(void) // take no damage to health/armor withing 1 second of respawn // or during endround - if (((self->alive_time >= 1) || !self->round_deaths) && !ca_round_pause) + if (self->in_play && ((self->alive_time >= 1) || !self->round_deaths) && !ca_round_pause) { self->no_pain = false; }