fixes weird silicon health status

a non-damaged cyborg has 200 health.
in the current proc, that is shown as (200+100)/2 = 150 % health
a dead borg has 0 health.
in the current proc, that is shown as (0+100)/2 = 50 % health
Conflicts:
	code/modules/mob/living/silicon/silicon.dm
This commit is contained in:
Walter0o
2014-07-13 06:32:59 -04:00
committed by ZomgPonies
parent 4f4b96d5b1
commit d4f503c6f8
+1 -2
View File
@@ -159,7 +159,7 @@
// this function shows the health of the pAI in the Status panel
/mob/living/silicon/proc/show_system_integrity()
if(!src.stat)
stat(null, text("System integrity: [(src.health+100)/2]%"))
stat(null, text("System integrity: [round((health/maxHealth)*100)]%"))
else
stat(null, text("Systems nonfunctional"))
@@ -229,4 +229,3 @@
now_pushing = null