Fix windoors, powernets, and the Schlorrgo Columbo Dimension (#14202)

This commit is contained in:
Wildkins
2022-06-04 20:27:31 +02:00
committed by GitHub
parent 1faa05bf96
commit 8dbf17592b
5 changed files with 51 additions and 49 deletions
+2 -2
View File
@@ -81,8 +81,8 @@ default behaviour is:
return
if(can_swap_with(tmob)) // mutual brohugs all around!
var/turf/tmob_oldloc = tmob.loc
var/turf/src_oldloc = loc
var/turf/tmob_oldloc = get_turf(tmob)
var/turf/src_oldloc = get_turf(src)
if(pulling?.density)
tmob.forceMove(pulling.loc)
forceMove(tmob_oldloc)
+2
View File
@@ -1311,6 +1311,8 @@
if (dest != loc && istype(dest, /atom/movable))
AM = dest
LAZYADD(AM.contained_mobs, src)
if(pulledby)
pulledby.stop_pulling()
if (istype(loc, /atom/movable))
AM = loc