Skip to content

Commit

Permalink
fix: crash when reloading a crossbow
Browse files Browse the repository at this point in the history
  • Loading branch information
Darxo committed Aug 18, 2024
1 parent 686fee8 commit e382a01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod_hardened/hooks/skills/actives/reload_bolt.nut
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

q.onUse = @(__original) function( _user, _targetTile )
{
local ret = __original(_user, _targetTile);
this.getContainer().add(::new("scripts/skills/effects/hd_reload_disorientation_effect"));
return ret;
return __original(_user, _targetTile);
}
});

0 comments on commit e382a01

Please sign in to comment.