mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Fixed nasty Hot Potato bug
This commit is contained in:
parent
05d2f1a4f7
commit
7fbf551a29
1 changed files with 2 additions and 0 deletions
|
|
@ -734,6 +734,7 @@ class HotPotato(ba.TeamGameActivity[Player, ba.Team]):
|
||||||
|
|
||||||
self.elimination_timer_display -= 1 # Decrease our timer by one second.
|
self.elimination_timer_display -= 1 # Decrease our timer by one second.
|
||||||
if self.elimination_timer_display > 1:
|
if self.elimination_timer_display > 1:
|
||||||
|
self.elimination_timer_display -= 1 # Decrease our timer by one second.
|
||||||
sound_volume = 1.0 / marked_player_amount
|
sound_volume = 1.0 / marked_player_amount
|
||||||
|
|
||||||
for target in marked_players:
|
for target in marked_players:
|
||||||
|
|
@ -748,6 +749,7 @@ class HotPotato(ba.TeamGameActivity[Player, ba.Team]):
|
||||||
ba.playsound(self._danger_tick_sounds[self.elimination_timer_display - 1], 1.5)
|
ba.playsound(self._danger_tick_sounds[self.elimination_timer_display - 1], 1.5)
|
||||||
else:
|
else:
|
||||||
# Elimination timer is up! Let's eliminate all marked players.
|
# Elimination timer is up! Let's eliminate all marked players.
|
||||||
|
self.elimination_timer_display -= 1 # Decrease our timer by one second.
|
||||||
self._eliminate_marked_players()
|
self._eliminate_marked_players()
|
||||||
|
|
||||||
# This function explodes all marked players
|
# This function explodes all marked players
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue