This commit is contained in:
Madison Scott-Clary 2022-11-24 22:20:35 -08:00
parent d43e71a17f
commit a76c328b0b
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,6 @@ class ZapSaber:
logger.info('Stopping map...') logger.info('Stopping map...')
self.playing = False self.playing = False
self.map_failed = False self.map_failed = False
self.combo = 0
elif not self.playing and message['TimeElapsed'] != 0: elif not self.playing and message['TimeElapsed'] != 0:
logger.info('Starting map...') logger.info('Starting map...')
self.playing = True self.playing = True
@ -95,7 +94,8 @@ async def main(config):
logger.info('Initializing...') logger.info('Initializing...')
# Set up the shocker. # Set up the shocker.
shocker = PiShock(config['username'], config['apiKey'], config['code'], name='ZapSaber') shocker = PiShock(config['username'], config['apiKey'], config['code'],
name='ZapSaber')
shocker.beep() shocker.beep()
events = ZapSaber(config, shocker) events = ZapSaber(config, shocker)