From 35f24171bc72e276f11f0d0c86156a8b34570a2c Mon Sep 17 00:00:00 2001 From: Zutatensuppe Date: Fri, 30 Apr 2021 21:55:36 +0200 Subject: [PATCH] fix var name --- server/GameStorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/GameStorage.js b/server/GameStorage.js index 5db0ecd..735f7fd 100644 --- a/server/GameStorage.js +++ b/server/GameStorage.js @@ -61,7 +61,7 @@ function loadGame(gameId) { } function persistGames() { - for (const gameId of Object.keys(changedGames)) { + for (const gameId of Object.keys(DIRTY_GAMES)) { persistGame(gameId) } }