Skip to content

Commit

Permalink
Append GameName to sdk path to prevent overwriting other games.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fischsalat committed Jul 9, 2023
1 parent 40648cb commit 3941d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dumper/Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void Generator::GenerateMappings()
try
{
DumperFolder = Settings::SDKGenerationPath;
GenFolder = DumperFolder / (Settings::GameVersion + "_MAPPINGS");
GenFolder = DumperFolder / (Settings::GameVersion + '-' + Settings::GameName + "_MAPPINGS");

if (!fs::exists(DumperFolder))
{
Expand Down Expand Up @@ -277,7 +277,7 @@ void Generator::GenerateSDK()
try
{
DumperFolder = Settings::SDKGenerationPath;
GenFolder = DumperFolder / Settings::GameVersion;
GenFolder = DumperFolder / (Settings::GameVersion + '-' + Settings::GameName);
SDKFolder = GenFolder / "SDK";

if (!fs::exists(DumperFolder))
Expand Down

0 comments on commit 3941d46

Please sign in to comment.