Check the capturePoint state when diplomacyChanged, fixes #4491
Reviewed by elexis This was SVN commit r19232.
This commit is contained in:
parent
7536afe2ee
commit
3894902bec
@ -272,6 +272,11 @@ Capturable.prototype.OnTerritoryDecayChanged = function(msg)
|
||||
this.CheckTimer();
|
||||
};
|
||||
|
||||
Capturable.prototype.OnDiplomacyChanged = function(msg)
|
||||
{
|
||||
this.CheckTimer();
|
||||
};
|
||||
|
||||
Capturable.prototype.OnOwnershipChanged = function(msg)
|
||||
{
|
||||
if (msg.to == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user