cleans up atom/movable/Destroy + adds walk(src, 0)

This commit is contained in:
spookerton
2022-03-30 15:04:11 +01:00
parent 21ee12ae4b
commit 5212706f3d
9 changed files with 16 additions and 37 deletions
-4
View File
@@ -42,10 +42,6 @@
/atom/movable/proc/has_buckled_mobs()
return LAZYLEN(buckled_mobs)
/atom/movable/Destroy()
unbuckle_all_mobs()
return ..()
/atom/movable/proc/buckle_mob(mob/living/M, forced = FALSE, check_loc = TRUE)
if(check_loc && M.loc != loc)
@@ -12,9 +12,6 @@
create_reagents(500)
return
/obj/effect/vfx/smoke/chem/Destroy()
walk(src, 0) // Because we might have called walk_to, we must stop the walk loop or BYOND keeps an internal reference to us forever.
return ..()
/obj/effect/vfx/smoke/chem/transparent
opacity = FALSE
-1
View File
@@ -163,7 +163,6 @@
/obj/effect/spider/spiderling/Destroy()
STOP_PROCESSING(SSobj, src)
walk(src, 0) // Because we might have called walk_to, we must stop the walk loop or BYOND keeps an internal reference to us forever.
return ..()
/obj/effect/spider/spiderling/Bump(atom/user)
@@ -93,10 +93,6 @@
else if(M.ear_damage >= 5)
to_chat(M, "<span class='danger'>Your ears start to ring!</span>")
/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 Site Manager."