[MIRROR] Fixes backup light rounding (#5759)

* Fixes backup light rounding - #36060

* Fixes backup light rounding
This commit is contained in:
CitadelStationBot
2018-03-02 18:42:19 -06:00
committed by Poojawa
parent d4f08c37a7
commit 42fa773aaf
+1 -1
View File
@@ -388,7 +388,7 @@
if(LIGHT_BROKEN)
to_chat(user, "The [fitting] has been smashed.")
if(cell)
to_chat(user, "Its backup power charge meter reads [(cell.charge / cell.maxcharge) * 100]%.")
to_chat(user, "Its backup power charge meter reads [round((cell.charge / cell.maxcharge) * 100, 0.1)]%.")