menu example fix
This commit is contained in:
parent
4e596bebdb
commit
076c719f73
|
@ -68,7 +68,7 @@ fill_objs = function(s, w, act)
|
||||||
for i,o,ii in opairs(objs(w)) do
|
for i,o,ii in opairs(objs(w)) do
|
||||||
o = ref(o);
|
o = ref(o);
|
||||||
if isObject(o) and not isDisabled(o) and o ~= s and not isPhrase(o) then
|
if isObject(o) and not isDisabled(o) and o ~= s and not isPhrase(o) then
|
||||||
local n = deref(here())..".obj["..tonumber(ii).."]";
|
local n = deref(w)..".obj["..tonumber(ii).."]";
|
||||||
if act == "use" then
|
if act == "use" then
|
||||||
put(use_proxy(n), s);
|
put(use_proxy(n), s);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue