mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-12-24 14:16:56 +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.
|
||||
trace('Initializing custom preloader...');
|
||||
|
||||
funkin.util.CLIUtil.resetWorkingDir();
|
||||
|
||||
this.siteLockTitleText = Constants.SITE_LOCK_TITLE;
|
||||
this.siteLockBodyText = Constants.SITE_LOCK_DESC;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue