diff --git a/shooter_crossbow/init.lua b/shooter_crossbow/init.lua index a0b3d34..9408970 100644 --- a/shooter_crossbow/init.lua +++ b/shooter_crossbow/init.lua @@ -84,7 +84,7 @@ local function strike(arrow, pointed_thing, name) if groups.fleshy then shooter.spawn_particles(hit_pos) end - target:punch(object, nil, arrow_tool_caps, dir) + target:punch(puncher, nil, arrow_tool_caps, dir) if config.arrow_object_attach then local pos = vector.multiply(vector.subtract(target:get_pos(), hit_pos), -10)