Compare commits
2 Commits
efc0d2fd0c
...
cc5f12ce63
| Author | SHA1 | Date | |
|---|---|---|---|
| cc5f12ce63 | |||
| 2dcbe5e201 |
@ -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")
|
||||
|
||||
Reference in New Issue
Block a user