Changes SM integrity rounding (#1925)

This commit is contained in:
CitadelStationBot
2017-07-07 12:33:45 -05:00
committed by kevinz000
parent be15914a6f
commit be5ad79fa2
@@ -202,7 +202,7 @@
/obj/machinery/power/supermatter_shard/proc/get_integrity()
var/integrity = damage / explosion_point
integrity = round(100 - integrity * 100)
integrity = round(100 - integrity * 100, 0.01)
integrity = integrity < 0 ? 0 : integrity
return integrity