Fix ROOMS array syntax blocking production builds
This commit is contained in:
parent
a5c903c129
commit
0aa3fc8928
@ -218,6 +218,7 @@ const ROOMS = [
|
|||||||
makeRoom('bathroom', 'Bathroom', 3, 'right', 0xe5f4ff),
|
makeRoom('bathroom', 'Bathroom', 3, 'right', 0xe5f4ff),
|
||||||
makeRoom('garage', 'Garage', 4, 'left', 0xe8eef5),
|
makeRoom('garage', 'Garage', 4, 'left', 0xe8eef5),
|
||||||
makeRoom('utility', 'Utility', 4, 'right', 0xfff0df)
|
makeRoom('utility', 'Utility', 4, 'right', 0xfff0df)
|
||||||
|
]
|
||||||
|
|
||||||
const ROOM_BY_ID = new Map(ROOMS.map((room) => [room.id, room]))
|
const ROOM_BY_ID = new Map(ROOMS.map((room) => [room.id, room]))
|
||||||
|
|
||||||
@ -1400,7 +1401,7 @@ const game = new Phaser.Game({
|
|||||||
})
|
})
|
||||||
|
|
||||||
window.__DOLLHOUSE__ = {
|
window.__DOLLHOUSE__ = {
|
||||||
version: '0.10.6',
|
version: '0.10.7',
|
||||||
game,
|
game,
|
||||||
async resetAll() {
|
async resetAll() {
|
||||||
await clearGameState()
|
await clearGameState()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user