From e60ea69b7ea77054b8b0829a31c546aebdffe900 Mon Sep 17 00:00:00 2001 From: Ben Date: Tue, 26 May 2020 00:54:50 +0100 Subject: [PATCH] Always index the igloo in-case it was removed --- houdini/data/room.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/houdini/data/room.py b/houdini/data/room.py index 2db0c6b..1bae264 100644 --- a/houdini/data/room.py +++ b/houdini/data/room.py @@ -175,6 +175,8 @@ class PenguinIglooRoom(db.Model, RoomMixin): if not p.stealth_moderator: await self.send_xt('ap', await p.string) + p.server.igloos_by_penguin_id[self.penguin_id] = self + async def remove_penguin(self, p): await RoomMixin.remove_penguin(self, p)