wix: updated paths to use media_dir
This commit is contained in:
parent
7f1a741caa
commit
796eb4bd6a
1 changed files with 9 additions and 7 deletions
|
|
@ -61,7 +61,7 @@ class CardPanel(QuickCardGame,wx.Panel):
|
|||
QuickCardGame.__init__(self, parent, referee, players, player_nick)
|
||||
wx.Panel.__init__(self, parent)
|
||||
self.SetMinSize(wx.Size(MIN_WIDTH, MIN_HEIGHT))
|
||||
self.loadCards("images/cards/")
|
||||
self.loadCards(os.path.join(self.parent.host.media_dir, 'games/cards/tarot'))
|
||||
self.mouse_over_card = None #contain the card to highlight
|
||||
self.visible_size = CARD_WIDTH/2 #number of pixels visible for cards
|
||||
self.hand = []
|
||||
|
|
|
|||
Loading…
Reference in a new issue