Skip to content

Commit

Permalink
Double limit of player characters
Browse files Browse the repository at this point in the history
  • Loading branch information
IntelOrca committed Aug 23, 2024
1 parent 47f582d commit 02c6750
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions IntelOrca.Biohazard.BioRand/RandoConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ public static RandoConfig FromString(string code)
reader.ReadByte(3);
result.PrioritiseCutscenes = reader.ReadFlag();

result.Player0 = reader.ReadByte(6);
result.Player1 = reader.ReadByte(6);
reader.ReadByte(2);
result.Player0 = reader.ReadByte(7);
result.Player1 = reader.ReadByte(7);
result.SwapCharacters = reader.ReadFlag();

result.RandomInventory = reader.ReadFlag();
Expand Down Expand Up @@ -210,9 +209,8 @@ public override string ToString()
writer.Write(3, 0);
writer.Write(PrioritiseCutscenes);

writer.Write(6, Player0);
writer.Write(6, Player1);
writer.Write(2, 0);
writer.Write(7, Player0);
writer.Write(7, Player1);
writer.Write(SwapCharacters);

writer.Write(RandomInventory);
Expand Down

0 comments on commit 02c6750

Please sign in to comment.