This commit is contained in:
Jonas Zeunert
2022-08-31 15:20:03 +02:00
parent 0ef881bb91
commit a75d57f594
2 changed files with 4 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ class EndBallEvent(Event):
TopFlipper().deactivate()
MainFlipper().deactivate()
self.gameState.currentPlayer.setReplayBall()
if self.gameState.currentPlayer.replayBall or not self.gameState.currentPlayer.hasBallScored:
OutHoleSolenoid().trigger()
return