Fix some Bomb Defusal round logic ending the round prematurely

This commit is contained in:
Marco Cawthorne 2019-08-22 21:18:51 -07:00
parent e7cf14e63f
commit 579fd6435b

View file

@ -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. */