Skip to content

Commit

Permalink
Fix other half of trainer editing bug
Browse files Browse the repository at this point in the history
Oops.
  • Loading branch information
kwsch committed Dec 28, 2015
1 parent 73ce024 commit b2c4a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SAV/SAV_Trainer.cs
Expand Up @@ -587,7 +587,7 @@ private void changeStat(object sender, EventArgs e)
private void changeStatVal(object sender, EventArgs e)
{
if (editing) return;
int offset = Convert.ToInt32(statdata[CB_Stats.SelectedIndex * 2].Substring(2));
int offset = Convert.ToInt32(statdata[CB_Stats.SelectedIndex * 2].Substring(2), 16);
SAV.setPSSStat(offset/4, UInt32.Parse(MT_Stat.Text));
}
private void giveAllAccessories(object sender, EventArgs e)
Expand Down

0 comments on commit b2c4a68

Please sign in to comment.