From c970d1e417c8d0e2bcb16689f29cf029f7974d65 Mon Sep 17 00:00:00 2001 From: Rendo Date: Sun, 30 Nov 2025 02:08:36 +0500 Subject: [PATCH] Game now doesn't end when bomb planted and attackers are gone --- scripts/multiplayer/session.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/multiplayer/session.gd b/scripts/multiplayer/session.gd index b8137bd..9af355d 100644 --- a/scripts/multiplayer/session.gd +++ b/scripts/multiplayer/session.gd @@ -183,7 +183,7 @@ func add_dead(team: int): return if team == TEAMS.ATTACK: attackers_alive -= 1 - if attackers_alive == 0 and round_state != ROUND_STATES.AFTER_ROUND: + if attackers_alive == 0 and round_state != ROUND_STATES.AFTER_ROUND and round_state != ROUND_STATES.AFTER_PLANT: end_round(TEAMS.DEFENCE) if team == TEAMS.DEFENCE: defenders_alive -= 1