mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:44:08 +00:00
Don't updateTerritories when deserializing
Clients which didn't late-join only get a change to `uptadeTerritories` when the ai playes a turn. When joining clients do it at the turn when they deserialize the ai they might be ahead of the others. That would lead to an out of sync.
This commit is contained in:
@@ -104,7 +104,6 @@ Headquarters.prototype.init = function(gameState, queues)
|
||||
Headquarters.prototype.postinit = function(gameState)
|
||||
{
|
||||
this.basesManager.postinit(gameState);
|
||||
this.updateTerritories(gameState);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user