forked from noxious/server
Added PvP field to zones table
This commit is contained in:
parent
58f801e302
commit
6070e587c6
@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `Zone` ADD COLUMN `pvp` BOOLEAN NOT NULL DEFAULT false;
|
@ -107,6 +107,7 @@ model Zone {
|
||||
width Int
|
||||
height Int
|
||||
tiles Json
|
||||
pvp Boolean @default(false)
|
||||
zoneEventTiles ZoneEventTile[]
|
||||
zoneObjects ZoneObject[]
|
||||
characters Character[]
|
||||
|
@ -62,7 +62,7 @@ export class Server
|
||||
// Load zone manager
|
||||
await ZoneManager.boot();
|
||||
|
||||
// Load command manager
|
||||
// Load command manager - Disabled for now
|
||||
// await CommandManager.boot(this.io);
|
||||
|
||||
// Listen for socket connections
|
||||
|
Loading…
x
Reference in New Issue
Block a user