Reapplied scanners to map, stopped braces working on drill turfs with no resources.

This commit is contained in:
Zuhayr
2014-07-10 20:13:59 +09:30
parent f477d92c37
commit d5784c653c
2 changed files with 7 additions and 2 deletions

View File

@@ -346,6 +346,11 @@
/obj/machinery/mining/brace/proc/connect()
var/turf/T = get_step(get_turf(src), src.dir)
if(!T.has_resources)
src.visible_message("\red The terrain near the brace is unsuitable!")
return
for(var/thing in T.contents)
if(istype(thing,/obj/machinery/mining/drill))
connected = thing