This commit is contained in:
p.kosyh 2010-01-23 15:08:47 +00:00
parent 8b088dfcd0
commit bd06fdbe61

View file

@ -1022,7 +1022,7 @@ function player_use(self, what, onwhat)
end
if onwhat == nil then
if scene_use_mode then
return player_action(self, what);
return self:action(what);
else
v, r = call(ref(obj),'inv');
end