0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 06:50:43 -05:00

Fix save()

This commit is contained in:
Archangel 2025-01-15 19:17:43 +01:00
parent 40705af401
commit 856c943d66

View File

@ -71,8 +71,8 @@ export class SaveServer {
*/
public async save(): Promise<void> {
const timer = new Timer();
for (const sessionID in this.profiles) {
await this.saveProfile(sessionID);
for (const [sessionId] of this.profiles) {
await this.saveProfile(sessionId);
}
const profileCount = this.profiles.size;
this.logger.debug(