Add player to penguins_by_username on world join

This commit is contained in:
Ben 2019-06-21 01:50:08 +01:00
parent fb18ffe6d3
commit cdc5683f88

View File

@ -38,6 +38,7 @@ async def handle_join_server(p, penguin_id: int, login_key: str, lang: str):
p.joined_world = True
p.server.penguins_by_id[p.data.id] = p
p.server.penguins_by_username[p.data.username] = p
@handlers.handler(XTPacket('j', 'jr'))