Okay, so I have this little snippet of code all nasty and narly. I loop through the players, and inside that I loop through every city of that player.
I'm checking to see (in my tech tooltip mod) if a wonder has been built already; so I know to display it's button or not.
The issue is, it works everywhere but the tech tree (See screen shots - Great Library).
If I comment out the code that does the finally placement of the button, they all disappear so I know that the code in Tech Tree is being called, it's just giving a different result in one case than in two others.
This leaves me to believe perhaps there is some sort of initialization/timing issue or cache thingy I'm messing up or don't understand?
I'm checking to see (in my tech tooltip mod) if a wonder has been built already; so I know to display it's button or not.
The issue is, it works everywhere but the tech tree (See screen shots - Great Library).
If I comment out the code that does the finally placement of the button, they all disappear so I know that the code in Tech Tree is being called, it's just giving a different result in one case than in two others.
This leaves me to believe perhaps there is some sort of initialization/timing issue or cache thingy I'm messing up or don't understand?