cleanup
This commit is contained in:
parent
8b088dfcd0
commit
bd06fdbe61
|
@ -1022,7 +1022,7 @@ function player_use(self, what, onwhat)
|
||||||
end
|
end
|
||||||
if onwhat == nil then
|
if onwhat == nil then
|
||||||
if scene_use_mode then
|
if scene_use_mode then
|
||||||
return player_action(self, what);
|
return self:action(what);
|
||||||
else
|
else
|
||||||
v, r = call(ref(obj),'inv');
|
v, r = call(ref(obj),'inv');
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue