Преглед изворни кода

fix restoring from localStorage (#715)

David Luzar пре 5 година
родитељ
комит
82eb97462b
1 измењених фајлова са 2 додато и 0 уклоњено
  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);
       }
     }
   }