Skip to content

Commit

Permalink
SporeModLoader: correct Path::GetCoreLibsPaths()
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Dec 25, 2023
1 parent 8e8d810 commit 3ed2c3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions SporeModLoader/SporeModLoaderHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ std::vector<std::filesystem::path> Path::GetCoreLibsPaths(void)
std::filesystem::path coreLibsPath;

coreLibsPath = GetModLoaderPath();
coreLibsPath += "\\CoreLibs";
coreLibsPath += "\\CoreLibs\\";

switch (Game::GetCurrentVersion())
{
Expand All @@ -83,12 +83,10 @@ std::vector<std::filesystem::path> Path::GetCoreLibsPaths(void)
throw std::exception();

case Game::GameVersion::GogOrSteam_March2017:
coreLibsPath += "\\march2017\\";
legacyLibFile = "SporeModAPI-steam_patched.dll";
break;

case Game::GameVersion::Disk_1_5_1:
coreLibsPath += "\\disk\\";
legacyLibFile = "SporeModAPI-disk.dll";
break;
}
Expand Down

0 comments on commit 3ed2c3a

Please sign in to comment.