fix copy&paste issue
This commit is contained in:
parent
6cf900f31d
commit
7a59468419
@ -87,7 +87,7 @@ smart_sfinv_api.register_enhancement({
|
|||||||
for idx = 1, last_button do
|
for idx = 1, last_button do
|
||||||
local def = sfinv_buttons.registered_buttons[idx]
|
local def = sfinv_buttons.registered_buttons[idx]
|
||||||
if def and fields[def.button_name] and def.action then
|
if def and fields[def.button_name] and def.action then
|
||||||
def.action(player, context, content, show_inv)
|
def.action(player, context, fields)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user