Skip to content

Commit

Permalink
Fix error when randomize NPCs is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelOrca committed Jan 13, 2024
1 parent 9154afa commit 0f67f64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ BioRand v3.2.2 (2023-01-13)
* [Fix] RE 1, room 10F, potential softlock in door rando.
* [Fix] RE 1, room 205, dogs crash game during cutscene.
* [Fix] RE 3, room 20F, crash when NPC is Irons.
* [Fix] generation error when randomize NPCs is disabled.

BioRand v3.2.1 (2023-01-04)

Expand Down
2 changes: 1 addition & 1 deletion IntelOrca.Biohazard.BioRand/BaseRandomiser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public void GenerateRdts(RandoConfig config, IRandoProgress progress, FileReposi
playerActors = ChangePlayerCharacters(config, logger, gameData, fileRepository);

VoiceRandomiser? voiceRandomiser = null;
if (config.RandomNPCs || config.RandomEvents)
if (config.RandomNPCs || config.RandomCutscenes || config.RandomEvents)
{
voiceRandomiser = new VoiceRandomiser(
BiohazardVersion,
Expand Down

0 comments on commit 0f67f64

Please sign in to comment.