From 579fd6435b9455a83f4c35e68e3220e90fc3fca2 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Thu, 22 Aug 2019 21:18:51 -0700 Subject: [PATCH] Fix some Bomb Defusal round logic ending the round prematurely --- Source/server/cstrike/rules.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/server/cstrike/rules.c b/Source/server/cstrike/rules.c index 1d399fa7..065c78b8 100755 --- a/Source/server/cstrike/rules.c +++ b/Source/server/cstrike/rules.c @@ -325,11 +325,12 @@ void Rules_DeathCheck(void) } else { return; } - if (iBombZones > 0) { /* In Bomb Defusal, the winning team receives $3250 * if they won by eliminating the enemy team. */ - Rules_RoundOver(winner, 3250, FALSE); + if (!iBombPlanted || iAlivePlayers_CT == 0) { + Rules_RoundOver(winner, 3250, FALSE); + } } else { /* In Hostage Rescue, the winning team receives $3600 * if they won by eliminating the enemy team. */