X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Futils%2FgameStorage.js;h=dfbd639483fe67ab9a4fc7005eb341ee60d885c9;hb=23ecf00824691b5622b468e0409fc543c87d75dc;hp=4eb6bc730ed71fe10ec382145793fc45d97cb173;hpb=3b959cfaf3d3a28373d7ebb48d80087150a98006;p=vchess.git diff --git a/client/src/utils/gameStorage.js b/client/src/utils/gameStorage.js index 4eb6bc73..dfbd6394 100644 --- a/client/src/utils/gameStorage.js +++ b/client/src/utils/gameStorage.js @@ -96,7 +96,7 @@ export const GameStorage = { }, // Retrieve all local games (running, completed, imported...) - // light: do not retrieve moves or players or clocks (TODO: this is the only usage) + // light: do not retrieve moves or clocks (TODO: this is the only usage) getAll: function(light, callback) { dbOperation((err,db) => { let objectStore = db.transaction("games").objectStore("games"); @@ -111,7 +111,6 @@ export const GameStorage = { delete g.moves; delete g.clocks; delete g.initime; - delete g.players; } games.push(g); cursor.continue();