forgot to rename reference

This was SVN commit r14429.
This commit is contained in:
sanderd17 2013-12-29 12:40:34 +00:00
parent 4158283fd4
commit 2146fa27c8

View File

@ -543,7 +543,7 @@ Player.prototype.OnGlobalOwnershipChanged = function(msg)
this.conquestCriticalEntitiesCount--;
if (this.conquestCriticalEntitiesCount == 0) // end game when needed
Engine.QueryInterface(SYSTEM_ENTITY, IID_EndGameManager).CheckPlayers();
Engine.QueryInterface(SYSTEM_ENTITY, IID_EndGameManager).CheckConquestCriticalEntities();
if (cmpCost)
{