Skip to content

Commit

Permalink
Update grenade_launcher.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveloopers authored Mar 30, 2024
1 parent 9eb5f65 commit 5741823
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@
fired.throw_range = 20
fired.det_time = min(10, fired.det_time)
fired.activate(user, FALSE)
if(fired.customizable && fired.detonator) //has to be after activate because the timer assembly will set it to a minimal of 3 seconds
if(istimer(fired.detonator.a_left))
var/obj/item/device/assembly/timer/timer = fired.detonator.a_left
timer.time = 10
else
if(istimer(fired.detonator.a_right))
var/obj/item/device/assembly/timer/timer = fired.detonator.a_right
timer.time = 10
fired.forceMove(get_turf(src))
fired.throw_atom(target, 20, SPEED_VERY_FAST, user, null, NORMAL_LAUNCH, pass_flags)

Expand Down

0 comments on commit 5741823

Please sign in to comment.