Fix variable reference

#1731
This commit is contained in:
Kurt 2017-12-29 18:30:13 -08:00
parent 648f250303
commit fa90ae21df

View File

@ -475,7 +475,7 @@ private void SaveUltraData()
SAV.SetSurfScore(3, (int)NUD_Surf3.Value);
if (TB_RotomOT.Text != TB_OTName.Text // different Rotom name from OT
&& TB_RotomOT.Text != SAV.OT // manually changed
&& TB_OTName.Text != SAV.OT // manually changed
&& DialogResult.Yes == // wants to update
WinFormsUtil.Prompt(MessageBoxButtons.YesNo, "Rotom OT does not match OT name. Update Rotom OT name with OT name?"))
SAV.RotomOT = TB_OTName.Text;