diff --git a/src/room_util.c b/src/room_util.c index 3f395674aa..03aeb1b95d 100644 --- a/src/room_util.c +++ b/src/room_util.c @@ -332,6 +332,7 @@ TbBool replace_slab_from_script(MapSlabCoord slb_x, MapSlabCoord slb_y, unsigned SYNCDBG(7, "Room on (%d,%d) had %d slabs", (int)slb_x, (int)slb_y, (int)room->slabs_count); decrease_room_area(room->owner, 1); kill_room_slab_and_contents(room->owner, slb_x, slb_y); + remove_slab_from_room_tiles_list(room, slb_x, slb_y); if (room->slabs_count <= 1) { delete_room_flag(room);