mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00:00
Always update territories
This commit is contained in:
@@ -130,12 +130,7 @@ Headquarters.prototype.getSeaBetweenIndices = function(gameState, index1, index2
|
||||
Headquarters.prototype.checkEvents = function(gameState, events)
|
||||
{
|
||||
this.buildManager.checkEvents(gameState, events);
|
||||
|
||||
if (events.TerritoriesChanged.length || events.DiplomacyChanged.length ||
|
||||
events.ConstructionFinished.length)
|
||||
{
|
||||
this.updateTerritories(gameState);
|
||||
}
|
||||
this.updateTerritories(gameState);
|
||||
|
||||
for (const evt of events.DiplomacyChanged)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user