add last entry to server player process

This commit is contained in:
2023-03-13 19:38:00 +01:00
parent 8717668234
commit 600ca5112d
+1
View File
@@ -52,6 +52,7 @@ async function processServerPlayers(server: number) {
.select(max('kill.id').as('last_entry')) .select(max('kill.id').as('last_entry'))
.as('last_entry') .as('last_entry')
]) ])
.where('kill.id', '>', last_entry)
.groupBy('attacker_id') .groupBy('attacker_id')
.execute() .execute()
//if no new kills //if no new kills