Explorar o código

fix restoring from localStorage (#715)

David Luzar %!s(int64=5) %!d(string=hai) anos
pai
achega
82eb97462b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/index.tsx

+ 2 - 0
src/index.tsx

@@ -353,6 +353,8 @@ export class App extends React.Component<any, AppState> {
       );
       if (match) {
         this.loadScene(match[1], match[2]);
+      } else {
+        this.loadScene(null, undefined);
       }
     }
   }