pre_attack change (#30305)

This commit is contained in:
Contrabang
2025-09-01 21:10:58 +00:00
committed by GitHub
parent f322e8adad
commit e1f42f4673
9 changed files with 30 additions and 29 deletions
@@ -138,7 +138,7 @@
if(istype(A, /obj/machinery/hydroponics))
// Calling afterattack from pre_attack looks stupid, but afterattack with proximity FALSE is what makes the gun fire, and we're returning FALSE to cancel the melee attack.
afterattack__legacy__attackchain(A, user, FALSE, params)
return FALSE
return CONTINUE_ATTACK
return ..()
//////////////////////////////