Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberYagir committed Jun 26, 2022
1 parent abe2ec9 commit ec7233d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Assets/Mods/Mod.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public List<Mod> GetAssetBundles(List<string> paths, ModAssemblyLoader assemblyL
currentDll = assemblyLoader.loadedAssembles[modName];
}

if (currentDll == null && asset == null && scenes == null) continue; //Not A mod
var mod = new Mod(asset, scenes, currentDll);

mods.Add(mod);
Expand Down
2 changes: 1 addition & 1 deletion Mods/loader.chain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"mods":["D:/Unity/Projects/ModsLoader/Assets/../Mods/FPS.modFile","D:/Unity/Projects/ModsLoader/Assets/../Mods/TestMod.modFile","D:/Unity/Projects/ModsLoader/Assets/../Mods/CanvasMod.modFile"]}
{"mods":["D:/Unity/Projects/ModsLoader/Assets/../Mods/FPS.modFile","D:/Unity/Projects/ModsLoader/Assets/../Mods/TestMod.modFile","D:/Unity/Projects/ModsLoader/Assets/../Mods/CanvasMod.modFile","D:/Unity/Projects/ModsLoader/Assets/../Mods/SOSU HUI.modFile"]}

0 comments on commit ec7233d

Please sign in to comment.