Index: ps/trunk/binaries/data/mods/public/simulation/components/DeathDamage.js =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/components/DeathDamage.js +++ ps/trunk/binaries/data/mods/public/simulation/components/DeathDamage.js @@ -42,7 +42,7 @@ DeathDamage.prototype.Serialize = null; // we have no dynamic state to save -DeathDamage.prototype.GetDeathDamageStrengths = function(type) +DeathDamage.prototype.GetDeathDamageStrengths = function() { // Work out the damage values with technology effects let applyMods = damageType => @@ -84,7 +84,7 @@ "origin": pos, "radius": radius, "shape": this.template.Shape, - "strengths": this.GetDeathDamageStrengths("Death"), + "strengths": this.GetDeathDamageStrengths(), "splashBonus": this.GetBonusTemplate(), "playersToDamage": playersToDamage, "type": "Death", Index: ps/trunk/binaries/data/mods/public/simulation/components/GuiInterface.js =================================================================== --- ps/trunk/binaries/data/mods/public/simulation/components/GuiInterface.js +++ ps/trunk/binaries/data/mods/public/simulation/components/GuiInterface.js @@ -525,11 +525,7 @@ let cmpDeathDamage = Engine.QueryInterface(ent, IID_DeathDamage); if (cmpDeathDamage) - ret.deathDeath = { - "hack": cmpDeathDamage.GetDeathDamageStrengths("hack"), - "pierce": cmpDeathDamage.GetDeathDamageStrengths("pierce"), - "crush": cmpDeathDamage.GetDeathDamageStrengths("crush") - }; + ret.deathDamage = cmpDeathDamage.GetDeathDamageStrengths(); let cmpObstruction = Engine.QueryInterface(ent, IID_Obstruction); if (cmpObstruction)