mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user