From 75c076f03fe447bdb47657e5e5f4b46b7bde8c22 Mon Sep 17 00:00:00 2001 From: staubsauger Date: Fri, 16 Aug 2024 22:28:03 +0200 Subject: [PATCH] test --- game/states.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/states.py b/game/states.py index 07b3922..e6c047c 100644 --- a/game/states.py +++ b/game/states.py @@ -57,7 +57,7 @@ class InGame(State): center.mod(len(centers)) def draw(e): - pos = e.components[Position] - center + pos = center - e.components[Position] if (-console.width//2 <= pos.x < console.width//2\ and -console.height//2 <= pos.y < console.height//2): graphic = e.components[Graphic]