diff --git a/draft/map.py b/draft/map.py index a908c2d..7cdce82 100644 --- a/draft/map.py +++ b/draft/map.py @@ -13,7 +13,7 @@ def __repr__(self): def map_mode_name(self, is_pick): if self.slug.endswith('k2'): return self.name - parts = self.name.split(' ') + parts = self.name.rsplit(' ', 1) return parts[0] + (' PICK ' if is_pick else ' ANY ') + parts[1] def as_map(self): diff --git a/templates/index.html b/templates/index.html index e4b92e1..42d5183 100644 --- a/templates/index.html +++ b/templates/index.html @@ -370,7 +370,7 @@ Fork me on GitHub
-

SpyParty Draft Tool BETA version 0.0.5

+

SpyParty Draft Tool BETA version 0.0.5b

Join:

@@ -488,6 +488,10 @@

Help

to make this work (it has to support web sockets).

What's New

+

Version 0.0.5b

+
    +
  • Fixed bug with PICK and ANY with Crowded Pub and New Art Ballroom
  • +

Version 0.0.5

  • Added ability to distinguish PICK and ANY for maps.