From d331338d9339b537181588fc246db17a4be5ea80 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Mon, 4 Jan 2021 20:35:59 -0500 Subject: [PATCH 1/2] stopped games printing end-card 1 update too soon --- the_prestige.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 4385732..7e3c1a9 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1121,7 +1121,7 @@ async def game_watcher(): this_array = gamesarray.copy() for i in range(0,len(this_array)): game, channel, user, key = this_array[i] - if game.over and main_controller.master_games_dic[key][1]["end_delay"] <= 9: + if game.over and main_controller.master_games_dic[key][1]["end_delay"] <= 8: final_embed = game_over_embed(game) if isinstance(user, str): await channel.send(f"A game started by {user} just ended.") From e37abb55a1d4ab364b38ae71df35f5743179ef57 Mon Sep 17 00:00:00 2001 From: Elijah Steres Date: Mon, 4 Jan 2021 22:55:53 -0500 Subject: [PATCH 2/2] fix game page getting squashed on mobile --- static/css/game.css | 1 + static/css/game_page.css | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/static/css/game.css b/static/css/game.css index 2b0aa55..35a7f60 100644 --- a/static/css/game.css +++ b/static/css/game.css @@ -20,6 +20,7 @@ border-right: none; border-bottom: none; height: min-content; + min-width: 500px; } .header { diff --git a/static/css/game_page.css b/static/css/game_page.css index e707284..108b017 100644 --- a/static/css/game_page.css +++ b/static/css/game_page.css @@ -5,5 +5,7 @@ } .game { - width: 33%; + width: 95%; + max-width: 700px; + min-width: 600px; } \ No newline at end of file