Only try to remove igloo from map if player has joined world

This commit is contained in:
Ben 2020-02-14 22:00:05 +00:00
parent 6c0b6a1239
commit 98c2062633

View File

@ -373,6 +373,7 @@ async def handle_add_igloo_map(p):
@handlers.disconnected
@handlers.player_attribute(joined_world=True)
async def handle_remove_igloo_map(p):
if p.id in p.server.open_igloos_by_penguin_id:
del p.server.open_igloos_by_penguin_id[p.id]