From: <dil...@us...> - 2015-03-14 15:06:34
|
Revision: 8035 http://sourceforge.net/p/freeorion/code/8035 Author: dilvish-fo Date: 2015-03-14 15:06:27 +0000 (Sat, 14 Mar 2015) Log Message: ----------- adjusted AI loading of savestate so that old savegame files hopefully remain compatible with the current AI code Modified Paths: -------------- trunk/FreeOrion/default/AI/AIstate.py Modified: trunk/FreeOrion/default/AI/AIstate.py =================================================================== --- trunk/FreeOrion/default/AI/AIstate.py 2015-03-13 20:28:23 UTC (rev 8034) +++ trunk/FreeOrion/default/AI/AIstate.py 2015-03-14 15:06:27 UTC (rev 8035) @@ -116,6 +116,8 @@ for std_attrib in ['empire_standard_fighter', 'empire_standard_enemy']: if std_attrib not in state_dict: self.__dict__[std_attrib] = (4, ((4, 1),), 0.0, 10.0) + self.colonisablePlanetIDs = odict() + self.colonisableOutpostIDs = odict() def __del__(self): # TODO: confirm if anything about boost interface really requires this """destructor""" |