[MIRROR] Tank gauge rounding fix (#2800)

* Merge pull request #30749 from ShizCalev/tank-display-fix

Tank gauge rounding fix

* Tank gauge rounding fix
This commit is contained in:
CitadelStationBot
2017-09-17 11:58:50 -05:00
committed by Poojawa
parent 1cca85a58e
commit cbfee7e313
+1 -1
View File
@@ -74,7 +74,7 @@
if (icon == src) to_chat(user, "<span class='notice'>If you want any more information you'll need to get closer.</span>")
return
to_chat(user, "<span class='notice'>The pressure gauge reads [src.air_contents.return_pressure()] kPa.</span>")
to_chat(user, "<span class='notice'>The pressure gauge reads [round(src.air_contents.return_pressure(),0.01)] kPa.</span>")
var/celsius_temperature = src.air_contents.temperature-T0C
var/descriptive