Skip to content

Commit

Permalink
update source/Paths.hx
Browse files Browse the repository at this point in the history
  • Loading branch information
RalseiSmol03 committed Jun 10, 2023
1 parent f19b7cc commit 97758c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Paths.hx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class Paths

static public function getTextFromFile(key:String, ?ignoreMods:Bool = false):String
{
#if sys
//#if sys
#if MODS_ALLOWED
if (!ignoreMods && FileSystem.exists(modFolders(key)))
return File.getContent(modFolders(key));
Expand All @@ -262,7 +262,7 @@ class Paths
if (FileSystem.exists(levelPath))
return File.getContent(levelPath);
}
#end
//#end
return Assets.getText(getPath(key, TEXT));
}

Expand Down

0 comments on commit 97758c7

Please sign in to comment.