Skip to content

Commit

Permalink
refactor: clean up code in two places
Browse files Browse the repository at this point in the history
  • Loading branch information
Darxo committed Aug 19, 2024
1 parent e382a01 commit 3f4b373
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod_hardened/hooks/skills/perks/perk_rf_en_garde.nut
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
q.onRemoved = @() function() {}

// Hardened Functions
q.onOtherSkillAdded = @(__original) function( _skill )
q.onOtherSkillAdded = @() function( _skill )
{
if (_skill.getID() == "effects.riposte")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{
__original(_skill, _targetTile, _targetEntity, _forFree);
this.m.IsSpent = false; // We reset this back to false so it stays active all the time
return true; // This is now always hidden because it is always active
return;
}

q.onCombatFinished = @(__original) function()
Expand Down

0 comments on commit 3f4b373

Please sign in to comment.