From 98c20626332302570bd4348de2bb11fd4d77b952 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 14 Feb 2020 22:00:05 +0000 Subject: [PATCH] Only try to remove igloo from map if player has joined world --- houdini/handlers/play/igloo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/houdini/handlers/play/igloo.py b/houdini/handlers/play/igloo.py index 869d323..8d6cb47 100644 --- a/houdini/handlers/play/igloo.py +++ b/houdini/handlers/play/igloo.py @@ -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]