Update db-log-addOn.js

This commit is contained in:
Skillet 2023-12-12 17:24:50 -05:00 committed by GitHub
parent 8de533e02b
commit 7e7d5ca9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ export default class DBLogPlayerTime extends DBLog {
this.seeding = ServerState.live;
}
} else {
if (this.server.currentLayerRcon.layer.includes('Seed')) {
if (this.server.currentLayerRcon.layer?.includes('Seed')) {
this.verbose(1,'starting to seeding');
this.seeding = ServerState.seeding;
} else {