1
0
Fork 0
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:
Cameron Taylor 2024-06-01 16:27:55 -04:00 committed by GitHub
commit 4c037de247
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}