diff --git a/main_controller.py b/main_controller.py index 28959d5..cf1d1cd 100644 --- a/main_controller.py +++ b/main_controller.py @@ -111,7 +111,9 @@ def update_loop(): state["update_pause"] = 2 if state["end_delay"] < 0: master_games_dic.pop(game_time) - state["end_delay"] -= 1 + else: + state["end_delay"] -= 1 + master_games_dic[game_time][1]["end_delay"] -= 1 else: this_game.gamestate_update_full() diff --git a/templates/game.html b/templates/game.html index d0ed41d..17e0176 100644 --- a/templates/game.html +++ b/templates/game.html @@ -2,7 +2,7 @@ {% if state.bases[number] %}{{base_filled}}{% else %}{{base_empty}}{% endif %} {%- endmacro %} {% macro out(number) -%} -{% if number <= state.outs %}{{out_filled}}{% else %}{{out_empty}}{% endif %} +{% if number <= state.outs %}{{out_out}}{% else %}{{out_in}}{% endif %} {%- endmacro %}