fix pepperbox
This commit is contained in:
parent
28a43b57b8
commit
834d1896ed
@ -298,7 +298,7 @@ class Pepperbox(Bang):
|
||||
def play_card(self, player, against, _with=None):
|
||||
if self.can_be_used_now:
|
||||
if against != None:
|
||||
Card.play_card(player, against=against)
|
||||
Card.play_card(self, player, against=against)
|
||||
player.game.attack(player, against)
|
||||
return True
|
||||
return False
|
||||
@ -361,7 +361,7 @@ def get_starting_deck() -> List[Card]:
|
||||
PlaccaDiFerro(Suit.SPADES, 'Q'),
|
||||
Sombrero(Suit.CLUBS, 7),
|
||||
Pugnale(Suit.HEARTS, 8),
|
||||
Derringer(Suit.SPADES, 9),
|
||||
Derringer(Suit.SPADES, 7),
|
||||
Borraccia(Suit.HEARTS, 7),
|
||||
CanCan(Suit.CLUBS, 'J'),
|
||||
Conestoga(Suit.DIAMONDS, 9),
|
||||
|
@ -36,12 +36,12 @@
|
||||
<h2>{{$t("warning")}}</h2>
|
||||
<p>{{$t("connection_error")}}</p>
|
||||
</div>
|
||||
<select style="position:fixed;bottom:4pt;right:4pt;" v-model="$i18n.locale">
|
||||
<select style="position:absolute;bottom:4pt;right:4pt;" v-model="$i18n.locale">
|
||||
<option
|
||||
v-for="(lang, i) in ['it.🇮🇹', 'en.🇬🇧']"
|
||||
v-for="(lang, i) in ['it.🇮🇹.Italiano', 'en.🇬🇧.English']"
|
||||
:key="`lang-${i}`"
|
||||
:value="lang.split('.')[0]">
|
||||
{{lang.split('.')[1]}} {{lang.split('.')[0]}}
|
||||
{{lang.split('.')[1]}} {{lang.split('.')[2]}}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user