mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user