fix: initialize attributes

This commit is contained in:
əlemi 2022-07-03 00:16:00 +02:00
parent 011531b1a4
commit 363eeea3aa
No known key found for this signature in database
GPG key ID: BBCBFE5D7244634E

View file

@ -45,6 +45,9 @@ class GameContainer(Scaffold):
self.window_transaction_id = 0 self.window_transaction_id = 0
self.window_id = -1 self.window_id = -1
self.window_title = "" self.window_title = ""
self.window_inventory_type = ""
self.window_entity_id = None
self.window_inventory = []
@self.on(DisconnectedEvent) @self.on(DisconnectedEvent)
async def disconnected_cb(_): async def disconnected_cb(_):