Fixed game server playersOnline.
This commit is contained in:
parent
d245eebac1
commit
9fcc6e0cb6
@ -8,5 +8,9 @@ const gameServerSchema = new mongoose.Schema({
|
|||||||
description: { type: String, default: "Description..." },
|
description: { type: String, default: "Description..." },
|
||||||
isModded: { type: Boolean, default: false },
|
isModded: { type: Boolean, default: false },
|
||||||
region: { type: String, default: "Null" },
|
region: { type: String, default: "Null" },
|
||||||
|
playersOnline: {
|
||||||
|
type: Number,
|
||||||
|
default: 0,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
module.exports = mongoose.model("GameServer", gameServerSchema);
|
module.exports = mongoose.model("GameServer", gameServerSchema);
|
||||||
|
|||||||
Reference in New Issue
Block a user