[MIRROR] Fixes backup light rounding (#5759)
* Fixes backup light rounding - #36060 * Fixes backup light rounding
This commit is contained in:
committed by
Poojawa
parent
d4f08c37a7
commit
42fa773aaf
@@ -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)]%.")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user