1
1
forked from 0ad/0ad

Fix copy & past error in the initial petra AI relic support of 5dcc52f46a. Reported by bb, patch by Sandarac.

This was SVN commit r19381.
This commit is contained in:
elexis 2017-04-07 17:23:08 +00:00
parent ee41e3fd16
commit 35f7dddbf8

View File

@ -269,7 +269,7 @@ m.GameTypeManager.prototype.removeGuardsFromCriticalEnt = function(gameState, cr
if (guardEnt.getMetadata(PlayerID, "guardedEnt"))
guardEnt.setMetadata(PlayerID, "guardedEnt", undefined);
}
this.criticalEnts.delete(evt.entity);
this.criticalEnts.delete(criticalEntId);
};
m.GameTypeManager.prototype.buildWonder = function(gameState, queues)