mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 23:17:24 +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)
|
p.data.map_category, p.data.status_field)
|
||||||
|
|
||||||
spawn = random.choice(p.server.spawn_rooms)
|
spawn = random.choice(p.server.spawn_rooms)
|
||||||
await spawn.add_penguin(p)
|
await p.join_room(spawn)
|
||||||
|
|
||||||
await p.data.load_inventories()
|
await p.data.load_inventories()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user