test
This commit is contained in:
parent
75c076f03f
commit
d82e76e6d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue