Moved UICreatureButton class to the gamelib directory, minor market fix.

This commit is contained in:
BeniS 2012-08-26 21:00:50 +12:00
parent b58f4aa465
commit 3baf2b809d
3 changed files with 4 additions and 0 deletions

View File

@ -1062,7 +1062,9 @@ end
-- protocol callback functions -- protocol callback functions
function Market.onMarketEnter(depotItems, offers, balance, vocation) function Market.onMarketEnter(depotItems, offers, balance, vocation)
Market.clearSelectedItem()
updateBalance(balance) updateBalance(balance)
information.totalOffers = offers information.totalOffers = offers
local player = g_game.getLocalPlayer() local player = g_game.getLocalPlayer()
if player then if player then

View File

@ -19,3 +19,5 @@ Module
dofile 'player' dofile 'player'
dofile 'market' dofile 'market'
dofile 'thing' dofile 'thing'
dofiles 'ui'