Update space.dm

This commit is contained in:
silicons
2020-07-18 20:51:30 -07:00
committed by GitHub
parent 53dd4fc857
commit 9b1aa39497
+6 -1
View File
@@ -133,10 +133,15 @@
else
to_chat(user, "<span class='warning'>The plating is going to need some support! Place metal rods first.</span>")
/turf/open/space/Entered(atom/movable/A)
/turf/open/space/Entered(atom/movable/A, atom/OldLoc)
..()
if ((!(A) || src != A.loc))
return
var/turf/old = get_turf(OldLoc)
if(!isspaceturf(old) && ismob(A))
var/mob/M = A
M.update_gravity(M.mob_has_gravity())
if(destination_z && destination_x && destination_y && !(A.pulledby || !A.can_be_z_moved))
var/tx = destination_x