Game now doesn't end when bomb planted and attackers are gone
This commit is contained in:
parent
8535dba9cd
commit
c970d1e417
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue