Skip to content

Commit

Permalink
Add tools to melee dinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Safairette committed Nov 30, 2024
1 parent 79c06e4 commit ed3b590
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ protected virtual IEnumerable<DamageInfo> DamageInfosToApply(LocalTargetInfo tar
damageInfo.SetWeaponBodyPartGroup(bodyPartGroupDef);
damageInfo.SetWeaponHediff(hediffDef);
damageInfo.SetAngle(direction);
damageInfo.SetTool(tool);
yield return damageInfo;
if (this.tool != null && this.tool.extraMeleeDamages != null)
{
Expand Down

0 comments on commit ed3b590

Please sign in to comment.