mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 17:46:08 -05: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
1 changed files with 2 additions and 0 deletions
|
@ -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