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