Skip to content

Commit

Permalink
Fix save()
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchangelWTF committed Jan 15, 2025
1 parent 40705af commit 856c943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project/src/servers/SaveServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 856c943

Please sign in to comment.