diff --git a/squadjsPlugins/db-log-addOn.js b/squadjsPlugins/db-log-addOn.js index aef6d6d..c900cb3 100644 --- a/squadjsPlugins/db-log-addOn.js +++ b/squadjsPlugins/db-log-addOn.js @@ -165,7 +165,7 @@ export default class DBLogPlayerTime extends DBLog { console.log(timeNow); const curPlayer = await this.models.PlayerTimeNew.findAll({ where: { - leaveTime: null, + endTime: null, serverState: oldState, server: this.options.overrideServerID || this.server.id }