Session ID reset now only happens on reset (derp).

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@4541 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Jens Ayton 2011-05-07 07:41:56 +00:00
parent 3390d5e0e6
commit e5ad9aafa7

View File

@ -3852,8 +3852,6 @@ static BOOL MaintainLinkedLists(Universe *uni)
[self resetBeacons];
_sessionID++;
no_update = updating; // restore drawing
}
@ -8520,6 +8518,8 @@ Entity *gOOJSPlayerIfStale = nil;
[OOTexture clearCache];
[self resetSystemDataCache];
_sessionID++; // Must be after removing old entities and before adding new ones.
[ResourceManager setUseAddOns:!strict];
//[ResourceManager loadScripts]; // initialised inside [player setUp]!