forked from 0ad/0ad
cleaning
This was SVN commit r16691.
This commit is contained in:
parent
f200815de4
commit
f4432330e1
@ -88,11 +88,12 @@ AuraManager.prototype.ApplyTemplateBonus = function(value, player, classes, data
|
||||
|
||||
AuraManager.prototype.RemoveBonus = function(value, ents, key)
|
||||
{
|
||||
var v = this.modifications[value];
|
||||
if (!v)
|
||||
return;
|
||||
|
||||
for (let ent of ents)
|
||||
{
|
||||
var v = this.modifications[value];
|
||||
if (!v)
|
||||
continue;
|
||||
var e = v[ent];
|
||||
if (!e)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user