jleonard2099 / LHG_CollegeBB

Lance Haffner Courtside College Basketball
GNU Affero General Public License v3.0
5 stars 0 forks source link

Weird behavior creating conferences #9

Closed jleonard2099 closed 1 year ago

jleonard2099 commented 1 year ago
jleonard2099 commented 1 year ago

Creation of 2nd conference loading data from previous one has been fixed. Placement of initialization for a new conference was only in the beginning of the module, not prior to the adding of a conference.

Jumbling of conference names, based on available screenshots, was showing stat file names in place of team names.

I have seen this behavior, but not consistently. It may be related to the above issue and is anticipated to be fixed. More testing will be done.

Primary remaining concern here is for the team selection.

jleonard2099 commented 1 year ago

More testing of the conference teams showing as stat file names was done. This appears to be corrected now. When conference files were saved, the TMS file (with the stat file name) is written after the LIB file. Rather than switching this order around, however, having the variable initialization took care of it. This is because the same variable used to write the team name was then being modified to write the stat file name. Hence, the stat file name showing in the display (it wasn't getting reloaded)

Calls to team selection were occuring outside the intended place in the If/Then structure, leading to it happening twice if ENTER was used for selecting a previous team. This is fixed and will be missing from the next release.