Grenade GC improvement (#19355)

* Grenade GC improvement

* Adds commits

* farie's suggestion

Co-authored-by: Farie82 <farie82@users.noreply.github.com>

Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
GDN
2022-10-16 09:22:27 -05:00
committed by GitHub
parent c4f9086b38
commit f4a55d844b
@@ -106,5 +106,11 @@
return TRUE
/obj/item/grenade/attack_hand()
///We need to clear the walk_to on grabbing a moving grenade to have it not leap straight out of your hand
walk(src, null, null)
..()
/obj/item/grenade/Destroy()
///We need to clear the walk_to on destroy to allow a grenade which uses walk_to or related to properly GC
walk_to(src, 0)
return ..()