mirror of
https://github.com/solero/houdini.git
synced 2024-11-08 20:28:20 +00:00
Only try to remove igloo from map if player has joined world
This commit is contained in:
parent
6c0b6a1239
commit
98c2062633
@ -373,6 +373,7 @@ async def handle_add_igloo_map(p):
|
|||||||
|
|
||||||
|
|
||||||
@handlers.disconnected
|
@handlers.disconnected
|
||||||
|
@handlers.player_attribute(joined_world=True)
|
||||||
async def handle_remove_igloo_map(p):
|
async def handle_remove_igloo_map(p):
|
||||||
if p.id in p.server.open_igloos_by_penguin_id:
|
if p.id in p.server.open_igloos_by_penguin_id:
|
||||||
del p.server.open_igloos_by_penguin_id[p.id]
|
del p.server.open_igloos_by_penguin_id[p.id]
|
||||||
|
Loading…
Reference in New Issue
Block a user