disabled right click in inventory for auctions/bids tabs
This commit is contained in:
+3
-3
@@ -93,12 +93,12 @@ end
|
|||||||
|
|
||||||
function UseContainerItem(...)
|
function UseContainerItem(...)
|
||||||
temp(arg)
|
temp(arg)
|
||||||
if modified or not index(active_tab, 'USE_ITEM') then
|
if modified or not active_tab then
|
||||||
return orig.UseContainerItem(unpack(arg))
|
return orig.UseContainerItem(unpack(arg))
|
||||||
end
|
end
|
||||||
local item_info = info.container_item(arg[1], arg[2])
|
local item_info = info.container_item(arg[1], arg[2])
|
||||||
if item_info then
|
if item_info and active_tab.USE_ITEM then
|
||||||
return active_tab.USE_ITEM(item_info)
|
active_tab.USE_ITEM(item_info)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user