Skip to content

Commit

Permalink
Update ModsMenuState.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Sep 28, 2024
1 parent 7fa8904 commit 5c9e4b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/states/ModsMenuState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -818,11 +818,10 @@ class ModItem extends FlxSpriteGroup
var path:String = Paths.mods('$folder/data/settings.json');
if(FileSystem.exists(path))
{
var data:String = File.getContent(path);
try
{
//trace('trying to load settings: $folder');
settings = tjson.TJSON.parse(data);
settings = tjson.TJSON.parse(File.getContent(path));
}
catch(e:Dynamic)
{
Expand Down

0 comments on commit 5c9e4b5

Please sign in to comment.