Skip to content

Commit

Permalink
fix bug with word order on new art ballroom and crowded pub
Browse files Browse the repository at this point in the history
  • Loading branch information
LtHummus committed Dec 27, 2015
1 parent aa05b90 commit 3339fc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion draft/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
6 changes: 5 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
<body>
<a href="https://github.com/LtHummus/SpyPartyDraft"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
<div class="container">
<h1>SpyParty Draft Tool <small>BETA version 0.0.5</small></h1>
<h1>SpyParty Draft Tool <small>BETA version 0.0.5b</small></h1>
<div id="room_wrapper">
<h2>Join:</h2>
<div id="create_form_wrapper">
Expand Down Expand Up @@ -488,6 +488,10 @@ <h2>Help</h2>
to make this work (it has to support web sockets).</p>

<h2>What's New</h2>
<p>Version 0.0.5b</p>
<ul>
<li>Fixed bug with PICK and ANY with Crowded Pub and New Art Ballroom</li>
</ul>
<p>Version 0.0.5</p>
<ul>
<li>Added ability to distinguish PICK and ANY for maps.</li>
Expand Down

0 comments on commit 3339fc7

Please sign in to comment.