Skip to content

Commit

Permalink
guh
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Nov 14, 2024
1 parent fb2a030 commit db17e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/mobile/backend/MobileData.hx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class MobileData
var fileWithNoLib:String = file.contains(':') ? file.split(':')[1] : file;
if (Path.extension(fileWithNoLib) == 'json')
{
file = Path.join([folder, Path.withoutDirectory(file)]);
#if MODS_ALLOWED file = Path.join([folder, Path.withoutDirectory(file)]); #end
var str = #if MODS_ALLOWED File.getContent(file) #else Assets.getText(file) #end;
var json:TouchButtonsData = cast Json.parse(str);
var mapKey:String = Path.withoutDirectory(Path.withoutExtension(fileWithNoLib));
Expand Down

0 comments on commit db17e24

Please sign in to comment.