Dreamchecker compatibility changes, part 1.

This commit is contained in:
Ghommie
2019-11-10 20:48:30 +01:00
parent c4849ead74
commit 1e49ce76d3
76 changed files with 149 additions and 118 deletions
+3 -2
View File
@@ -68,9 +68,10 @@
/atom/movable/Adjacent(var/atom/neighbor)
if(neighbor == loc)
return TRUE
if(!isturf(loc))
var/turf/T = loc
if(!istype(T))
return FALSE
if(loc.Adjacent(neighbor,target = neighbor, mover = src))
if(T.Adjacent(neighbor, neighbor, src))
return TRUE
return FALSE