Skip to content

Commit

Permalink
Fix #67: Issue with the GUI when genning without RE1 assets
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelOrca committed Dec 17, 2022
1 parent 6abb0d6 commit 37174b6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions IntelOrca.Biohazard/BgmRandomiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ public void AddCutomMusicToSelection(RandoConfig config)
good = true;
if (d == "re2" && config.IncludeBGMRE2)
good = true;
if (d == "re3" && config.IncludeBGMRE3)
good = true;
if (d == "re4" && config.IncludeBGMRE4)
good = true;
// if (d == "re3" && config.IncludeBGMRE3)
// good = true;
// if (d == "re4" && config.IncludeBGMRE4)
// good = true;
}
if (good)
AddCustomMusicToSelection(bgmList, dir);
Expand Down
2 changes: 1 addition & 1 deletion IntelOrca.Biohazard/RE1/Re1Randomiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected override string GetRdtPath(string dataPath, RdtId rdtId, int player)

public override void Generate(RandoConfig config, ReInstallConfig reConfig, string installPath, string modPath)
{
if (config.IncludeBGMRE2)
if (config.RandomBgm && config.IncludeBGMRE2)
{
if (!reConfig.IsEnabled(BioVersion.Biohazard2))
{
Expand Down
2 changes: 1 addition & 1 deletion IntelOrca.Biohazard/RE2/Re2Randomiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public override void Generate(RandoConfig config, ReInstallConfig reConfig, stri
{
_reInstallConfig = reConfig;

if (config.IncludeBGMRE1 || config.IncludeNPCRE1)
if ((config.RandomBgm && config.IncludeBGMRE1) || (config.RandomNPCs && config.IncludeNPCRE1))
{
if (!reConfig.IsEnabled(BioVersion.Biohazard1))
{
Expand Down

0 comments on commit 37174b6

Please sign in to comment.