Skip to content

Commit

Permalink
Volley traps can shoot a second time (dkfans#3283)
Browse files Browse the repository at this point in the history
Fixes a bug where they would only ever trigger once.
  • Loading branch information
Loobinex authored Jun 4, 2024
1 parent 6b29a81 commit 354aa4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/thing_traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ TngUpdateRet update_trap(struct Thing *traptng)
}
if (trap_is_active(traptng))
{
traptng->trap.volley_fire = false;
update_trap_trigger(traptng);
}
if (map_pos_is_lava(traptng->mappos.x.stl.num, traptng->mappos.y.stl.num) && !thing_is_dragged_or_pulled(traptng))
Expand Down

0 comments on commit 354aa4c

Please sign in to comment.