fix in menu
This commit is contained in:
parent
30c240bda1
commit
784ffc933e
|
@ -100,9 +100,13 @@ function menu(v)
|
|||
v.menu_type = true
|
||||
if v.inv == nil then
|
||||
v.inv = function(s)
|
||||
call(s, 'menu');
|
||||
local r
|
||||
r = call(s, 'menu');
|
||||
if r == nil then
|
||||
obj_tag(me(), MENU_TAG_ID); -- retag menu field
|
||||
end
|
||||
return r, true
|
||||
end
|
||||
end
|
||||
if v.save == nil then
|
||||
v.save = menu_save;
|
||||
|
|
Loading…
Reference in a new issue