This commit is contained in:
OTCv8
2020-07-16 16:59:46 +02:00
parent 760162d581
commit a65844f182
12 changed files with 543 additions and 355 deletions

View File

@@ -486,7 +486,11 @@ function changeCategory(widget, newCategory)
end
if g_game.getFeature(GameIngameStore) and widget ~= newCategory and not otcv8shop then
g_game.requestStoreOffers(newCategory.name:getText())
local serviceType = 0
if g_game.getFeature(GameTibia12Protocol) then
serviceType = 2
end
g_game.requestStoreOffers(newCategory.name:getText(), serviceType)
end
browsingHistory = false