Ticket #4169: t4169_health.diff
File t4169_health.diff, 498 bytes (added by , 8 years ago) |
---|
-
binaries/data/mods/public/simulation/components/Armour.js
63 63 64 64 // Reduce health 65 65 var cmpHealth = Engine.QueryInterface(this.entity, IID_Health); 66 if (!cmpHealth) 67 return { "killed": false, "change": 0 }; 68 66 69 return cmpHealth.Reduce(total); 67 70 }; 68 71