mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-25 14:46:43 +00:00
Merge pull request #577 from FunkinCrew/nothyper474/cwd-preloader
[PUBLIC PR] Fix a crash when booting from the command line
This commit is contained in:
commit
4c037de247
|
@ -136,6 +136,8 @@ class FunkinPreloader extends FlxBasePreloader
|
||||||
// We can't even call trace() yet, until Flixel loads.
|
// We can't even call trace() yet, until Flixel loads.
|
||||||
trace('Initializing custom preloader...');
|
trace('Initializing custom preloader...');
|
||||||
|
|
||||||
|
funkin.util.CLIUtil.resetWorkingDir();
|
||||||
|
|
||||||
this.siteLockTitleText = Constants.SITE_LOCK_TITLE;
|
this.siteLockTitleText = Constants.SITE_LOCK_TITLE;
|
||||||
this.siteLockBodyText = Constants.SITE_LOCK_DESC;
|
this.siteLockBodyText = Constants.SITE_LOCK_DESC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue