This commit is contained in:
Jonas Zeunert
2022-05-05 23:02:34 +02:00
parent 53e985379a
commit ae93fd81f2
2 changed files with 8 additions and 3 deletions

View File

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