take changes __from__ to me()

This commit is contained in:
p.kosyh 2010-07-06 13:41:24 +00:00
parent d972864d74
commit 12da2c5bf7

View file

@ -2101,6 +2101,10 @@ function taketo(obj, wh, pos)
end
inv():add(obj, pos);
o._taken = true
wh = deref(me())
if type(wh) == 'string' then
o.__where__ = wh;
end
return o
end