diff --git a/__init__.py b/__init__.py index e5d3666..f7197b5 100644 --- a/__init__.py +++ b/__init__.py @@ -98,7 +98,7 @@ class Game: self.spinning = False #stop spinning self.startSpin = False #what did i say bitch? stop spinning self.shockScale += self.fire() #check if the user gets shot - if self.shockScale > 1: self.shockScale=1 #keeps shockScale in bounds + self.shockScale = min(self.shockScale, 1) #keeps shockScale in bounds #screen code self.surface.fill("black")