mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 02:10:44 -05:00
Fix save() (#1084)
Fixes `save()` as I forgot to update the for loop when changing profiles into a `map`
This commit is contained in:
commit
d5797b6f93
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user