mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-10 08:55:48 -07:00
Fixes Attack.js error.
This was SVN commit r11892.
This commit is contained in:
parent
c4d6019599
commit
8fd3fbc210
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ Attack.prototype.GetAttackStrengths = function(type)
|
|||
var cmpTechMan = QueryOwnerInterface(this.entity, IID_TechnologyManager);
|
||||
var applyTechs = function(damageType)
|
||||
{
|
||||
var strength = +(self.template[type][damageType] || 0);
|
||||
var strength = +(template[damageType] || 0);
|
||||
if (cmpTechMan)
|
||||
{
|
||||
// All causes caching problems so disable it for now.
|
||||
|
|
|
|||
Loading…
Reference in a new issue