I hit "send" on the previous post, returned to the window with the code open, and saw the bug. After calling reconnect(), the variable "game" is still referring to the old version of the game, not the updated one with the new unit added. Just reloading the game from freeColClient fixes the bug (git.7aaa435).
Cheers, Mike Pope
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ Freecol-developers mailing list Freecol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freecol-developers