new ui elements for timing

This commit is contained in:
2022-10-19 16:58:16 +02:00
parent ef3e9632f6
commit 61fc1a2837

View File

@@ -85,7 +85,7 @@ class GameBase:
return breaks
def check_breaks(self, start_time, breaks):
if int(elf.stop_time) == 0:
if int(self.stop_time) == 0:
return
if (time() - start_time) > float(self.stop_time) * 60 * 60:
self.overlay.run_mode = 'stopped'