comparison plugins/plugin_misc_tarot.py @ 89:23caf1051099

multi-profile/subscription misc fixes
author Goffi <goffi@goffi.org>
date Thu, 13 May 2010 16:27:48 +0930
parents 59f181e8433a
children 4020931569b8
comparison
equal deleted inserted replaced
88:59f181e8433a 89:23caf1051099
100 del deck[0:hand_size] 100 del deck[0:hand_size]
101 chien = deck[:] 101 chien = deck[:]
102 del(deck[:]) 102 del(deck[:])
103 103
104 for player in players: 104 for player in players:
105 print "envoi de main a",player
106 self.host.sendMessage(room_jid+"/"+player, "/hand: %s" % str(hand[player])) 105 self.host.sendMessage(room_jid+"/"+player, "/hand: %s" % str(hand[player]))
107 106
108 self.host.bridge.tarotGameNew(room_jid, hand[players[0]], profile) 107 self.host.bridge.tarotGameNew(room_jid, hand[players[0]], profile)
109 108
110 109