Energy Net Attack Cooldown Fix (#22050)

fixes attacking energy nets with a weapon having no cooldown.

fixes #22028.
This commit is contained in:
SleepyGemmy
2026-03-16 21:10:21 +00:00
committed by GitHub
parent 39f473bd31
commit 220d034cf5
2 changed files with 7 additions and 0 deletions
@@ -108,6 +108,7 @@
health_check()
/obj/effect/energy_net/attackby(obj/item/attacking_item, mob/user)
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
user.do_attack_animation(src, attacking_item)
var/attack_force = attacking_item.force
if(user == affecting)