jleonard2099 / LHG_ProBB

Lance Haffner Basketball Pro Game
GNU Affero General Public License v3.0
2 stars 0 forks source link

Draft to New Team loads previous team data #14

Closed jleonard2099 closed 1 year ago

jleonard2099 commented 1 year ago

This only occurs if you were previously working in the Draft feature. The player list last loaded for the team you were trading to ("Team 1") gets brought in to the new team. Instead, being a new team, it should be initialized data (all XXX's).

jleonard2099 commented 1 year ago

Will be corrected with next push from GitHub. Initialization was happening at the beginning of the module, which was fine with the old game because that's where it would jump. That did not make sense initially with looping structures until evaluating it more closely. Initialize now happens only if drafting to a new team.