This commit is contained in:
Jonas Zeunert
2022-05-05 23:20:58 +02:00
parent 807438af7d
commit 3e2c59741a

View File

@@ -19,13 +19,13 @@ class Game:
self.is_running.release() self.is_running.release()
async def run(self): async def run(self):
logging.info('Starting game') await logging.info('Starting game')
await self.is_running.acquire() await self.is_running.acquire()
BottomLeftBankSolenoid().trigger() await BottomLeftBankSolenoid().trigger()
BottomRightBankSolenoid().trigger() await BottomRightBankSolenoid().trigger()
TopCentralBankSolenoid().trigger() await TopCentralBankSolenoid().trigger()
self.input_handler.handleInputs() self.input_handler.handleInputs()