mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 04:05:32 +00:00
Fixes Attack.js error.
This was SVN commit r11892.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user