APC frames no longer CPU-lock the server when used in an area that hasn't been blueprinted to not being space.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@974 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2011-02-07 01:57:25 +00:00
parent 4ce2ccd1ac
commit f93a9e2b2a
+3 -3
View File
@@ -16,12 +16,12 @@
if (!istype(loc, /turf/simulated/floor))
usr << "\red APC cannot be placed on this spot."
return
if (A.requires_power == 0 || A.name == "Space")
usr << "\red APC cannot be placed in this area."
return
if (A.get_apc())
usr << "\red This area already has APC."
return //only one APC per area
if (A.requires_power == 0)
usr << "\red APC cannot be placed in this area."
return
for(var/obj/machinery/power/terminal/T in loc)
if (T.master)
usr << "\red There is another network terminal here."