mirror of
https://github.com/solero/houdini.git
synced 2024-11-10 05:08:19 +00:00
Use penguin class API to join spawn room
This commit is contained in:
parent
ddd99cdc5c
commit
2e0ad97222
@ -29,7 +29,7 @@ async def handle_join_server(p, penguin_id: int, login_key: str):
|
||||
p.data.map_category, p.data.status_field)
|
||||
|
||||
spawn = random.choice(p.server.spawn_rooms)
|
||||
await spawn.add_penguin(p)
|
||||
await p.join_room(spawn)
|
||||
|
||||
await p.data.load_inventories()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user