Merge pull request #1734 from VOREStation/chemsmoke-fix

Fixes objects using walk_to() not being able to be garbage collected.
This commit is contained in:
Arokha Sieyes
2017-06-15 19:12:16 -04:00
committed by GitHub
8 changed files with 29 additions and 6 deletions
@@ -91,6 +91,10 @@
M << "<span class='danger'>Your ears start to ring!</span>"
M.update_icons()
/obj/item/weapon/grenade/flashbang/Destroy()
walk(src, 0) // Because we might have called walk_away, we must stop the walk loop or BYOND keeps an internal reference to us forever.
return ..()
/obj/item/weapon/grenade/flashbang/clusterbang//Created by Polymorph, fixed by Sieve
desc = "Use of this weapon may constiute a war crime in your area, consult your local Colony Director."
name = "clusterbang"