new game and timer popups

This commit is contained in:
Sander Land committed 2020-05-28 22:19:29 +02:00
1 parent e0bfa3c416
commit d70515235a
29 files changed
+853 -506

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ class ControlsPanel(BoxLayout):
now = time.time()
self.last_timer_update = (current_node, now)
byo_len = max(1, self.katrain.config("timer/byo_length"))
byo_num = max(1, self.katrain.config("timer/byo_num"))
byo_num = max(1, self.katrain.config("timer/byo_periods"))
player = self.katrain.game.next_player
ai = player.ai
if not self.timer.paused and not ai: