Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Chirlin committed Feb 7, 2024
1 parent 2b859e0 commit cb6319d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions games/speed_bomb.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ def __init__(self, moves, command_queue, ns, red_on_kill, music, teams, game_mod
Override generic functions
'''
def init_audio(self):
logger.debug("Init audio")
super().init_audio()
self.fakedout = Audio('audio/Joust/vox/' + self.voice + '/Fakedout.wav')
self.explosion40 = Audio('audio/Joust/sounds/Explosion40.wav')
self.countered = Audio('audio/Joust/vox/' + self.voice + '/countered.wav')
self.Fakecountered = Audio('audio/Joust/vox/' + self.voice + '/FakedoutCounter.wav')
self.explosiondeath = Audio('audio/Joust/vox/' + self.voice + '/explosiondeath.wav')
self.explosion_death = Audio('audio/Joust/vox/' + self.voice + '/explosiondeath.wav')

def init_moves(self):
logger.debug("Super init moves")
Expand Down Expand Up @@ -114,7 +113,7 @@ def handle_status(self):
if time.time() > self.bomb_time:
logger.debug("Bomb exploded")
if self.play_audio:
self.explosiondeath.start_effect()
self.explosion_death.start_effect()
self.explosion.start_effect()
self.kill_player(self.bomb_serial)

Expand Down

0 comments on commit cb6319d

Please sign in to comment.