1.9: International transfers bug
Posted: Tue Jun 07, 2005 8:35 pm
Suppose we have a country definition with at least one international cup, but none of those cups contain "generated" teams in Round 1. When the program creates an international transfer before any teams have been generated, it crashes because it tries to choose a random team from a list of zero.
For the time being, I'm making sure that all my countries include at least the Cup Winners' Cup as well as any of my own "local" international cups. I could instead define a "dummy" cup with no national teams in it, but then the user would wonder where the transfers are coming from.
It would be nice to have a cup property "no_transfers" to stop teams from a cup going onto the transfer list. I know this bit really belongs in "Feature Requests" but it's so closely related to the bug that I thought I'd mention it here.
For the time being, I'm making sure that all my countries include at least the Cup Winners' Cup as well as any of my own "local" international cups. I could instead define a "dummy" cup with no national teams in it, but then the user would wonder where the transfers are coming from.
It would be nice to have a cup property "no_transfers" to stop teams from a cup going onto the transfer list. I know this bit really belongs in "Feature Requests" but it's so closely related to the bug that I thought I'd mention it here.