Update movement_vr.dm

This commit is contained in:
Novacat
2021-05-16 14:11:34 -04:00
committed by GitHub
parent b5222d656b
commit f4e98e84d3
+5 -3
View File
@@ -7,15 +7,17 @@
if(!A.CanPass(src, src.loc, 1, 0))
return FALSE
Move(landing)
if(pulling)
pulling.forceMove(landing)
if(isliving(src))
var/mob/living/L = src
if(L.pulling)
L.pulling.forceMove(landing)
return 1
for(var/obj/O in loc)
if(!O.CanFallThru(src, landing))
return 1
if(drop_mob && !(drop_mob == src) && ismob(drop_mob) && isliving(drop_mob)) //Shitload of checks. This is because the game finds various ways to screw me over.
if(drop_mob && !(drop_mob == src)) //Shitload of checks. This is because the game finds various ways to screw me over.
var/mob/living/drop_living = drop_mob
if(drop_living.dropped_onto(src))
return