diff --git a/game.py b/game.py index e72fef5..80a0486 100644 --- a/game.py +++ b/game.py @@ -119,7 +119,7 @@ class Game(gameUtils.Game): self.timeout("FireDelay",randint(750,2000)/1000) self.playSound(self.gunCyclinderStop) - elif event.type == gameUtils.Timeout: + elif event.type == gameUtils.Timeout and event.timeoutID == 'FireDelay': self.shockScale += self.fire() #check if the user gets shot self.shockScale = min(self.shockScale, 1) #keeps shockScale in bounds