mirror of
https://github.com/AsgardEternal/SquadJSDocker.git
synced 2025-01-02 09:49:19 -06:00
Update db-log-addOn.js
This commit is contained in:
parent
b2a7c7c7a2
commit
a1fd20138b
@ -96,7 +96,7 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
this.seeding = ServerState.live;
|
this.seeding = ServerState.live;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(this.currentLayerRcon.level.includes("Seed")){
|
if(this.server.currentLayerRcon.layer.includes("Seed")){
|
||||||
console.log('starting to seeding');
|
console.log('starting to seeding');
|
||||||
this.seeding = ServerState.seeding;
|
this.seeding = ServerState.seeding;
|
||||||
} else {
|
} else {
|
||||||
@ -235,7 +235,7 @@ export default class DBLogPlayerTime extends DBLog {
|
|||||||
await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.live);
|
await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.live);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(this.currentLayerRcon.level.includes("Seed")){
|
if(this.server.currentLayerRcon.layer.includes("Seed")){
|
||||||
console.log('switching to seeding');
|
console.log('switching to seeding');
|
||||||
await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.seeding);
|
await this.updateCurrentTimeState(curDateTime, this.seeding, ServerState.seeding);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user