diff --git a/js/pacosako_ui.js b/js/pacosako_ui.js index 33d91ed..3cd866e 100644 --- a/js/pacosako_ui.js +++ b/js/pacosako_ui.js @@ -1276,6 +1276,12 @@ $(function (){ function notifyLocalMove(game, gameId) { if (!game) { delete lastNotifyState[gameId]; + + /* Preload the last-known state if we already have data for this game */ + const localMeta = IO.getCachedMeta(); + if (gameId in localMeta) { + notifyForGame(localMeta[gameId], gameId); + } } else { lastNotifyState[gameId] = lastNotifyState[gameId] || {}; lastNotifyState[gameId].moves = game.moves;