K 10 svn:author V 10 englabenny K 8 svn:date V 27 2010-03-28T10:26:10.568465Z K 7 svn:log V 617 Load script state last in loading savegame Saving script state saves references to cities, players, units etc by reference to the secfile path 'code.vars'. When we load script state, the game data is wholly incomplete, and loading of cities and units fail. On savegame load, the scenario code part is evaluated (function definitions and toplevel code, such as signal handlers), then the vars part is evaluated to restore script variables, possibly references to cities and players (and other api types). For this to work we must load the script state after the rest of the game has been set up. See gna patch #1552 END