From 50e47f3c903c2907ed0d9d99decc8c73531f6a01 Mon Sep 17 00:00:00 2001 From: duckietm Date: Sat, 17 Jun 2023 19:34:04 +0200 Subject: [PATCH] Update RoomPlane This fixes Large rooms to load --- src/nitro/room/object/visualization/room/RoomPlane.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/nitro/room/object/visualization/room/RoomPlane.ts b/src/nitro/room/object/visualization/room/RoomPlane.ts index 15c6404c..133014cf 100644 --- a/src/nitro/room/object/visualization/room/RoomPlane.ts +++ b/src/nitro/room/object/visualization/room/RoomPlane.ts @@ -261,14 +261,6 @@ export class RoomPlane implements IRoomPlane this._bitmapMasks = null; this._rectangleMasks = null; this._maskPixels = null; - - if(this._maskBitmapData) - { - this._maskBitmapData.destroy(true); - - this._maskBitmapData = null; - } - this._disposed = true; }