The current way of generating seasons couples the code to the data inserted in the database and if they get out of sync we run into issues. It should just copy the setup of the previous season instead of having so much hardcoded stuff. Then you can change the setup of future seasons by just inserting data manually, and the code knows how to handle it from there.
The current way of generating seasons couples the code to the data inserted in the database and if they get out of sync we run into issues. It should just copy the setup of the previous season instead of having so much hardcoded stuff. Then you can change the setup of future seasons by just inserting data manually, and the code knows how to handle it from there.