This commit is contained in:
mwerezak
2014-06-23 02:53:09 -04:00
committed by ZomgPonies
parent ad27574f18
commit cbaaba0d9c
+3 -2
View File
@@ -431,7 +431,8 @@
else
stop_pulling()
. = ..()
if ((s_active && !( s_active in contents ) ))
if (s_active && !( s_active in contents ) && get_turf(s_active) != get_turf(src)) //check !( s_active in contents ) first so we hopefully don't have to call get_turf() so much.
s_active.close(src)
if(update_slimes)
@@ -717,4 +718,4 @@
floating = 1
else if(!on && floating)
animate(src, pixel_y = initial(pixel_y), time = 10)
floating = 0
floating = 0