forked from 0ad/0ad
Serialize the armour component so that the temporary invulnerability from promotion is synchronised.
This was SVN commit r12978.
This commit is contained in:
parent
ea36dc5b3d
commit
095566c126
@ -37,8 +37,6 @@ Armour.prototype.Init = function()
|
||||
this.invulnerable = false;
|
||||
};
|
||||
|
||||
Armour.prototype.Serialize = null; // we have no dynamic state to save
|
||||
|
||||
Armour.prototype.SetInvulnerability = function(invulnerability)
|
||||
{
|
||||
this.invulnerable = invulnerability;
|
||||
|
Loading…
Reference in New Issue
Block a user