Fixing small chasm-side bugs.

Makes it so items won't fall into chasms multiple times while chasms are doing animations or processing by briefly making the item float.
This commit is contained in:
Haha26315
2022-09-14 20:56:41 -04:00
parent 8524fa2d62
commit 75b5be043d
3 changed files with 15 additions and 9 deletions
@@ -201,6 +201,9 @@
/obj/machinery/safety_tether/proc/bungee_teleport(mob/living/M, turf/open/Target_Turf, oldalpha, oldcolor, oldtransform)
//Give 'em gravity again, was only there to prevent multiple chasm drops
M.floating = FALSE
//Fun sound bites as the machine gears up to teleport
M.density = FALSE //Prevents a very unlikely issue where players can move around an invisible but not-yet-teleported tether victim
playsound(CENTER_TURF, 'sound/magic/charge.ogg', 100, 1, extrarange = 5)