Skip to content

Commit

Permalink
these seem useless tbh
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Jun 29, 2024
1 parent 5ebabf8 commit 7a9a5eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/funkin/backend/assets/Paths.hx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class Paths
return FlxAtlasFrames.fromAseprite('$key.png', '$key.json');

inline static public function getAssetsRoot():String
return ModsFolder.currentModFolder != null ? '${ModsFolder.modsPath}${ModsFolder.currentModFolder}' : SUtil.getStorageDirectory() + 'assets';
return ModsFolder.currentModFolder != null ? '${ModsFolder.modsPath}${ModsFolder.currentModFolder}' : 'assets';

/**
* Gets frames at specified path.
Expand Down
2 changes: 1 addition & 1 deletion source/funkin/backend/system/Main.hx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class Main extends Sprite
#end
Paths.assetsTree.__defaultLibraries.push(ModsFolder.loadLibraryFromFolder('assets', Sys.getCwd() + '${pathBack}assets/', true));
#elseif USE_ADAPTED_ASSETS
Paths.assetsTree.__defaultLibraries.push(ModsFolder.loadLibraryFromFolder('assets', #if mobile SUtil.getStorageDirectory() + #else Sys.getCwd() + #end 'assets/', true));
Paths.assetsTree.__defaultLibraries.push(ModsFolder.loadLibraryFromFolder('assets', Sys.getCwd() + 'assets/', true));
#end


Expand Down

0 comments on commit 7a9a5eb

Please sign in to comment.