Moved UICreatureButton class to the gamelib directory, minor market fix.
This commit is contained in:
parent
b58f4aa465
commit
3baf2b809d
|
@ -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
|
||||||
|
|
|
@ -19,3 +19,5 @@ Module
|
||||||
dofile 'player'
|
dofile 'player'
|
||||||
dofile 'market'
|
dofile 'market'
|
||||||
dofile 'thing'
|
dofile 'thing'
|
||||||
|
|
||||||
|
dofiles 'ui'
|
||||||
|
|
Loading…
Reference in New Issue