fix creating Player object

main
Plaza521 2023-03-16 23:14:44 +03:00 committed by GitHub
parent a89e41cd68
commit bf638e711e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ class Game:
def __init__(self) -> None: def __init__(self) -> None:
self.running = True self.running = True
self.is_pause = False self.is_pause = False
self.pl = Player(self) self.pl = Player()
self.out = Out(self.pl) self.out = Out(self.pl)
kb.add_hotkey(QUIT_BUTTON, self.stop_game) kb.add_hotkey(QUIT_BUTTON, self.stop_game)