use on self is supported2
This commit is contained in:
parent
0f25594023
commit
cbb22da53e
|
@ -1158,6 +1158,7 @@ end
|
|||
function player_use(self, what, onwhat, ...)
|
||||
local obj, obj2, v, vv, r;
|
||||
local scene_use_mode = false
|
||||
|
||||
obj = self:srch(what); -- in inv?
|
||||
if not obj then -- no
|
||||
obj = ref(self.where):srch(what); -- in scene?
|
||||
|
|
Loading…
Reference in a new issue