playfield timer

This commit is contained in:
Jonas Zeunert
2022-06-07 01:24:11 +02:00
parent f8cd4bdeb4
commit e553591101

View File

@@ -331,6 +331,8 @@ class PlayerState:
self.upperPlayfieldTime -= 5
logging.info("Playfield time left: " + str(self.upperPlayfieldTime))
self.upperPlayfieldTimer = Timer(interval=5, function=self.updatePlayfieldTime)
self.upperPlayfieldTimer.start()
def addBonusTimeSecond(self):
if not self.isActive: