Maybe mouse clicks may use the game

This commit is contained in:
Yohann D'ANELLO
2020-12-11 17:43:46 +01:00
parent d50f6701f4
commit 089a247b2f
3 changed files with 10 additions and 6 deletions

View File

@ -65,7 +65,7 @@ class DisplayManager:
# of that display
display = d
if display:
display.handle_click(y - display.y, x - display.x)
display.handle_click(y - display.y, x - display.x, self.game)
def refresh(self) -> List[Display]:
displays = []