Shieldgens:

-code cleanup and some improvements by Barhandar;
-more code cleanup;
-fixed availiable power colculation;
And some insignificant changes.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@730 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
rastaf.zero@gmail.com
2010-12-28 22:21:44 +00:00
parent d963bfe6e3
commit 6273622dd3
3 changed files with 97 additions and 124 deletions
+1 -1
View File
@@ -162,7 +162,7 @@
else
if (stat & MAINT)
usr << "The cover is closed. Something wrong with it: it's doesn't work."
else if (emagged || malfhack)
else if (malfhack)
usr << "The cover is broken. It's may be hard to force it open."
else
usr << "The cover is closed."
+1 -1
View File
@@ -370,7 +370,7 @@
/turf/proc/get_cable_node()
if(!istype(src, /turf/simulated/floor))
return
return null
for(var/obj/cable/C in src)
if(C.d1 == 0)
return C