From 2b530ff13caa05f0819db92dec32007859b88540 Mon Sep 17 00:00:00 2001 From: JordanSantiagoYT Date: Sat, 7 Sep 2024 00:53:25 -0400 Subject: [PATCH] Coding is great. fixed a crash that would occur when accessing the Note Splash Editor menu (this crash would force people to be unable to change the offsets of their splash!! sorry) --- source/MainMenuState.hx | 2 +- source/Paths.hx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/MainMenuState.hx b/source/MainMenuState.hx index d9c8a0fa43c..10e8d182884 100644 --- a/source/MainMenuState.hx +++ b/source/MainMenuState.hx @@ -23,7 +23,7 @@ using StringTools; class MainMenuState extends MusicBeatState { - public static var psychEngineJSVersion:String = '1.33.1'; //This is also used for Discord RPC + public static var psychEngineJSVersion:String = '1.33.2'; //This is also used for Discord RPC public static var psychEngineVersion:String = '0.6.3'; //This is also used for Discord RPC public static var curSelected:Int = 0; diff --git a/source/Paths.hx b/source/Paths.hx index 655a7615d94..00e1959c743 100644 --- a/source/Paths.hx +++ b/source/Paths.hx @@ -162,7 +162,8 @@ class Paths { var path:String = Paths.getSharedPath('images/' + skin + '.txt'); if (!FileSystem.exists(path)) path = Paths.modsTxt(skin); - if (!FileSystem.exists(path)) path = Paths.getSharedPath('images/noteSplashes/noteSplashes' + NoteSplash.getSplashSkinPostfix()); + if (!FileSystem.exists(path)) path = Paths.getSharedPath('images/noteSplashes/noteSplashes' + NoteSplash.getSplashSkinPostfix() + '.txt'); + var configFile:Array = CoolUtil.coolTextFile(path); if (configFile.length < 1) return null;