From 423c3d6b9c722cddc30943ddab21030eddf8929e Mon Sep 17 00:00:00 2001 From: Lajos Meszaros Date: Sat, 30 Sep 2023 00:53:26 +0200 Subject: [PATCH] fix(prefabs/rooms): change 'removed' to 'off' for individual wall textures too --- src/prefabs/rooms/loadRooms.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prefabs/rooms/loadRooms.ts b/src/prefabs/rooms/loadRooms.ts index 3ddfb6b6..601c86a4 100644 --- a/src/prefabs/rooms/loadRooms.ts +++ b/src/prefabs/rooms/loadRooms.ts @@ -217,13 +217,13 @@ export const loadRooms = async (filename: string, settings: Settings) => { const fitY = tokens[3] === 'fit-y' wall[wallIdx] = { texture, fitX, fitY, isRemoved: false } - } else if (tokens[1] === 'removed') { + } else if (tokens[1] === 'off') { wall[wallIdx].isRemoved = true } else { console.error( `[error] loadRooms: Unknown texture type "${tokens[1]}" at line ${ i + 1 - }, expected either "custom", "arx" or "removed"`, + }, expected either "custom", "arx" or "off"`, ) } }