Move to new format in ViewColumns and suffixize drone bay and bandwidth

This commit is contained in:
DarkPhoenix
2010-09-04 03:40:50 +04:00
parent 4e6049170b
commit 85aa5e4ebc
3 changed files with 7 additions and 7 deletions

View File

@@ -55,10 +55,10 @@ class MaxRange(ViewColumn):
if falloff is None:
falloff = ""
else:
falloff = "+%sm" % shorten(falloff, 1)
falloff = "+%sm" % shorten(falloff, 3, 0, 3)
if maxRange:
return "%sm" % shorten(maxRange, 1) + falloff
return "%sm" % shorten(maxRange, 3, 0, 3) + falloff
else:
return "" + falloff