diff --git a/src/ui/LoadingScreen.tsx b/src/ui/LoadingScreen.tsx index 86ab52f41..5f680d049 100644 --- a/src/ui/LoadingScreen.tsx +++ b/src/ui/LoadingScreen.tsx @@ -34,8 +34,9 @@ export function LoadingScreen(): React.ReactElement { }); useEffect(() => { - load() - .then((saveData) => Promise.all([initSwc(), Engine.load(saveData)])) + initSwc() + .then(() => load()) + .then((saveData) => Engine.load(saveData)) .then(() => { pushGameReady(); setLoaded(true);