1
0
forked from 0ad/0ad

Check the capturePoint state when diplomacyChanged, fixes #4491

Reviewed by elexis

This was SVN commit r19232.
This commit is contained in:
mimo 2017-02-21 20:42:28 +00:00
parent 7536afe2ee
commit 3894902bec

View File

@ -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)