Skip to content

Commit

Permalink
Oopsie - Fix game version
Browse files Browse the repository at this point in the history
  • Loading branch information
Manu098vm committed Mar 22, 2024
1 parent a345ea2 commit e044ab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TeraFinder.Plugins/Forms/CalculatorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ public async void btnSearch_Click(object sender, EventArgs e)
var sav = (SAV9SV)Editor.SAV.Clone();
sav.TrainerTID7 = Convert.ToUInt32(txtTID.Text, 10);
sav.TrainerSID7 = Convert.ToUInt32(txtSID.Text, 10);
sav.Version = cmbGame.SelectedIndex == 0 ? GameVersion.SL : GameVersion.SV;
sav.Version = cmbGame.SelectedIndex == 0 ? GameVersion.SL : GameVersion.VL;
var progress = (GameProgress)cmbProgress.SelectedIndex;
var content = (RaidContent)cmbContent.SelectedIndex;

Expand Down
2 changes: 1 addition & 1 deletion TeraFinder.Plugins/Forms/RewardCalcForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ private async void btnSearch_Click(object sender, EventArgs e)
var sav = (SAV9SV)Editor.SAV.Clone();
sav.TrainerTID7 = Convert.ToUInt32(txtTID.Text, 10);
sav.TrainerSID7 = Convert.ToUInt32(txtSID.Text, 10);
sav.Version = cmbGame.SelectedIndex == 0 ? GameVersion.SL : GameVersion.SV;
sav.Version = cmbGame.SelectedIndex == 0 ? GameVersion.SL : GameVersion.VL;
var progress = (GameProgress)cmbProgress.SelectedIndex;
var content = (RaidContent)cmbContent.SelectedIndex;
var boost = cmbBoost.SelectedIndex;
Expand Down

0 comments on commit e044ab8

Please sign in to comment.