mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module. * Fixed a bug with GameForceFirstAutoWalkStep feature. * Moved the spells ID to its SpellInfo row. * Lower cased table functions (consistant).
This commit is contained in:
@@ -518,7 +518,7 @@ local function onChangeSubCategory(combobox, option)
|
||||
local subId = getMarketCategoryId(subCategoryList:getCurrentOption().text)
|
||||
local slots = MarketCategoryWeapons[subId].slots
|
||||
for _, slot in pairs(slots) do
|
||||
if table.hasKey(MarketSlotFilters, slot) then
|
||||
if table.haskey(MarketSlotFilters, slot) then
|
||||
slotFilterList:addOption(MarketSlotFilters[slot])
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user