In the game 3728 i captured a neutral city but it did stay gray/neutral after battle. Units in stack had a battle value of "NaN". Moving the stack inside city yielded in a combat but combat screen did not load at all. Reloading the game fixed it.
JS log was showing:
- Code: Select all
Uncaught exception: TypeError: Cannot convert 'playercityarr[citycoord]' to object
Error thrown at line 3455, column 8 in <anonymous function: updatecityarr>() in http://www.warbarons.com/beta4/js/city.js:
playercityarr[citycoord]['availableproduction'] = city.cityobj.availableproduction.slice(0,city.cityobj.availableproduction.length);
called from line 470, column 8 in <anonymous function: savecity>() in http://www.warbarons.com/beta4/js/ajax.js:
CSS had suffered also:
- Code: Select all
position:absolute;left:93px;top:NaNpx;width:1px;height:NaNpx;clip:rect(0,1px,NaN