1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Fix multiple issues regarding saving / restoring games

This commit is contained in:
tobspr
2020-07-05 16:56:01 +02:00
parent 0b9b35b79e
commit 34ef26b289
12 changed files with 73 additions and 39 deletions

View File

@@ -82,7 +82,7 @@ export class PlatformWrapperImplBrowser extends PlatformWrapperInterface {
return new Promise(resolve => {
logger.log("Detecting storage");
if (!window.indexedDB) {
if (!window.indexedDB || G_IS_DEV) {
logger.log("Indexed DB not supported");
this.app.storage = new StorageImplBrowser(this.app);
resolve();