From a9a63418a195641986cd9a09c4a84c1b14f4d4a5 Mon Sep 17 00:00:00 2001 From: Lajos Meszaros Date: Mon, 18 Sep 2023 21:57:48 +0200 Subject: [PATCH] refactor(index): remove spawn zone --- src/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index e5ef620..b784027 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,6 @@ import { ArxMap, DONT_QUADIFY, HudElements, SHADING_SMOOTH, Settings, UiElements import { LightDoor, Rune } from 'arx-level-generator/prefabs/entity' import { loadRooms } from 'arx-level-generator/prefabs/rooms' import { Speed } from 'arx-level-generator/scripting/properties' -import { createZone } from 'arx-level-generator/tools' import { applyTransformations } from 'arx-level-generator/utils' import { randomSort } from 'arx-level-generator/utils/random' import { MathUtils } from 'three' @@ -42,9 +41,6 @@ rooms.forEach((room) => { map.add(room, true) }) -const spawnZone = createZone({ name: 'spawn', drawDistance: 5000 }) -map.zones.push(spawnZone) - const gameStateManager = createGameStateManager(settings) const rootRune = new Rune('aam', { arxTutorialEnabled: false })