fix jesse jones
This commit is contained in:
parent
904956a46f
commit
e6119394cd
@ -160,7 +160,7 @@ class Player:
|
||||
randrange(0, len(self.game.get_player_named(pile).hand))))
|
||||
self.game.get_player_named(pile).notify_self()
|
||||
self.sio.emit('chat_message', room=self.game.name,
|
||||
data=f'{self.name} ha pescato la prima carta dalla mano di {self.attacker.name}.')
|
||||
data=f'{self.name} ha pescato la prima carta dalla mano di {pile}.')
|
||||
self.hand.append(self.game.deck.draw())
|
||||
else:
|
||||
for i in range(2):
|
||||
|
@ -5,7 +5,7 @@ Vue.config.productionTip = false
|
||||
import VueSocketIO from 'vue-socket.io'
|
||||
Vue.use(new VueSocketIO({
|
||||
debug: Vue.config.devtools,
|
||||
connection: Vue.config.devtools ? 'http://localhost:5001' : window.location.origin,
|
||||
connection: Vue.config.devtools ? `http://${window.location.hostname}:5001` : window.location.origin,
|
||||
}))
|
||||
|
||||
import PrettyCheckbox from 'pretty-checkbox-vue';
|
||||
|
Loading…
Reference in New Issue
Block a user