mirror of
https://github.com/solero/houdini.git
synced 2024-11-10 05:08:19 +00:00
Log message when player joins rooms
This commit is contained in:
parent
2e0ad97222
commit
114a110d39
@ -53,6 +53,9 @@ class Penguin(Spheniscidae):
|
|||||||
async def join_room(self, room):
|
async def join_room(self, room):
|
||||||
await room.add_penguin(self)
|
await room.add_penguin(self)
|
||||||
|
|
||||||
|
self.logger.info('{} joined room \'{}\''.format(
|
||||||
|
self.data.username, room.name))
|
||||||
|
|
||||||
async def add_inventory(self, item, notify=True):
|
async def add_inventory(self, item, notify=True):
|
||||||
if item.id in self.data.inventory:
|
if item.id in self.data.inventory:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user