Add: Replay ball if not scored

This commit is contained in:
Jonas Zeunert
2022-02-21 22:37:46 +01:00
parent 57fc86b563
commit 011ff20365
2 changed files with 10 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ class EndBallEvent(Event):
def trigger(self, target):
super().trigger(target)
if self.playerState.replayBall:
if self.playerState.replayBall or not self.playerState.hasBallScored:
StartBallEvent().trigger(None)
return