0

Hide the " - default" suffix on worlds that use the default dimension

This commit is contained in:
Andrew Chin
2012-02-20 14:27:30 -05:00
parent c5c45363e3
commit 54f511ec3d

View File

@@ -397,7 +397,8 @@ class TileSet(object):
path = self.options.get('name'),
base = '',
bgcolor = bgcolorformat(self.options.get('bgcolor')),
world = self.options.get('worldname_orig') + " - " + self.options.get('dimension'),
world = self.options.get('worldname_orig') +
(" - " + self.options.get('dimension') if self.options.get('dimension') != 'default' else ''),
last_rendertime = self.this_rendertime,
imgextension = self.imgextension,
)