[SDK] Connecting cities through buildings

ok, then it's a nail on this problem's coffin! everything seems to be working nicely :p when I get AIAutoPlay to work I'll see if it's REALLY working.

now I can work again on my mod :)

and thanks again for the help, I have learned that Debug is my friend and I should never turn my back on him!
 
You don't have to call updatePlotGroups during ProcessBuilding. You can call it during ::setCityConnected() (the function you created when making the new XML). Then it'll only bother to update the plotgroups when it is actually needed to do so. I just say this because it is quite likely a bit of a processor hit when playing larger maps toward the end of the game.
 
Top Bottom