Soaprman / FEFTwiddler

A save editor for Fire Emblem Fates
GNU General Public License v3.0
55 stars 17 forks source link

First unpromoted unit selected is displaying incorrectly #23

Closed Soaprman closed 8 years ago

Soaprman commented 8 years ago

Steps:

Soaprman commented 8 years ago

This happens with the first unpromoted unit selected (example: Mozu). Probably some GUI bug.

Soaprman commented 8 years ago

Seems to be this line:

numLevel.Maximum = _character.GetTheoreticalMaxLevel();

Because the first character selected has a current level over 20, this line sets the level field to 20, which also writes to the character in question because of the event handlers.