Merge pull request #1139 from tigercat2000/spacearea

Replace all instances of /area alone to /area/space
This commit is contained in:
Fox-McCloud
2015-05-22 18:42:08 -04:00
26 changed files with 621 additions and 608 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
/obj/item/areaeditor/proc/get_area_type(var/area/A = get_area())
if (A.name == "Space")
if (istype(A,/area/space))
return AREA_SPACE
var/list/SPECIALS = list(
/area/shuttle,
@@ -19,7 +19,7 @@
if (src.mount_reqs.Find("simfloor") && !istype(turf_loc, /turf/simulated/floor))
user << "<span class='rose'>[src] cannot be placed on this spot.</span>"
return
if (src.mount_reqs.Find("nospace") && (areaMaster.requires_power == 0 || areaMaster.name == "Space"))
if (src.mount_reqs.Find("nospace") && (areaMaster.requires_power == 0 || istype(areaMaster,/area/space)))
user << "<span class='rose'>[src] cannot be placed in this area.</span>"
return
return 1