Skip to content

Commit

Permalink
Coding is great.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
JordanSantiagoYT committed Sep 7, 2024
1 parent 402ea7c commit 2b530ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/MainMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 2 additions & 1 deletion source/Paths.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> = CoolUtil.coolTextFile(path);

if (configFile.length < 1) return null;
Expand Down

0 comments on commit 2b530ff

Please sign in to comment.