Goodbye golem AI

This commit is contained in:
Sishen
2019-06-26 00:08:42 -04:00
parent dcd74f899a
commit 65d05f7df0
2 changed files with 12 additions and 1 deletions

View File

@@ -288,8 +288,17 @@
/mob/living/silicon/ai/can_interact_with(atom/A)
. = ..()
var/turf/ai = get_turf(src)
var/turf/target = get_turf(A)
if (.)
return
if(!target)
return
if ((ai.z != target.z) && !is_station_level(ai.z))
return FALSE
if (istype(loc, /obj/item/aicard))
var/turf/T0 = get_turf(src)
var/turf/T1 = get_turf(A)