Skip to content

Commit

Permalink
refactor(index): remove spawn zone
Browse files Browse the repository at this point in the history
  • Loading branch information
meszaros-lajos-gyorgy committed Sep 18, 2023
1 parent c91ab51 commit a9a6341
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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 })
Expand Down

0 comments on commit a9a6341

Please sign in to comment.