From 0c25dd4ffea86b9f5e40b33227be94bf32dc6080 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Fri, 27 Nov 2020 14:04:51 +0100 Subject: [PATCH] Display got broken --- squirrelbattle/display/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squirrelbattle/display/display.py b/squirrelbattle/display/display.py index bd16344..9f2f86a 100644 --- a/squirrelbattle/display/display.py +++ b/squirrelbattle/display/display.py @@ -72,7 +72,7 @@ class Display: top_y, top_x = max(0, top_y), max(0, top_x) window_y, window_x = max(0, window_y), max(0, window_x) screen_max_y, screen_max_x = self.screen.getmaxyx() if self.screen \ - else 42, 42 + else (42, 42) last_y, last_x = min(screen_max_y - 1, last_y), \ min(screen_max_x - 1, last_x)