Skip to content

Commit

Permalink
Fixed a bug preventing editing of encounter tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Nifyr committed Apr 1, 2022
1 parent 4ac311a commit 5f53840
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Forms/EncounterTableEditorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ private void CommitEdit(object sender, EventArgs e)
superRodMons.Add(superRodMon);
}

encounterTable.swayGrass = swayGrass;
encounterTable.waterMons = waterMons;
encounterTable.oldRodMons = oldRodMons;
encounterTable.goodRodMons = goodRodMons;
encounterTable.superRodMons = superRodMons;

encounterTable.encRateGround = (int) encRateGround.Value;
encounterTable.encRateWater = (int) encRateWater.Value;
encounterTable.encRateOldRod = (int) encRateOldRod.Value;
Expand Down

0 comments on commit 5f53840

Please sign in to comment.