From d82e76e6d42b0014760af66e878ba2fd856f0678 Mon Sep 17 00:00:00 2001 From: staubsauger Date: Fri, 16 Aug 2024 22:33:58 +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 e6c047c..3d30a08 100644 --- a/game/states.py +++ b/game/states.py @@ -57,7 +57,7 @@ class InGame(State): center.mod(len(centers)) def draw(e): - pos = center - e.components[Position] + pos = Position(console.width//2, console.height//2) + 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]