bub
This commit is contained in:
@@ -19,6 +19,12 @@ class EndBallEvent(Event):
|
||||
super().__init__("End Of Ball Event")
|
||||
|
||||
def trigger(self, target):
|
||||
if not self.gameState.isPlaying:
|
||||
return
|
||||
|
||||
if not self.gameState.isStarted:
|
||||
return
|
||||
|
||||
super().trigger(target)
|
||||
|
||||
TopFlipper().deactivate()
|
||||
|
||||
Reference in New Issue
Block a user