Skip to content
Snippets Groups Projects
Commit 4efb763e authored by dg's avatar dg
Browse files

Sending an item to a party member correctly marks it as removed from the chest

git-svn-id: http://svn.net-core.org/repos/t-engine4@6428 51575b47-30f0-44d4-a5cc-537603b46e54
parent d5afebc6
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ function _M:use(item)
self.source:removeObject(self.inven, self.item)
self.source:sortInven(self.inven)
self.o.__transmo = nil
item.actor:addObject(item.actor.INVEN_INVEN, self.o)
item.actor:sortInven(item.actor.INVEN_INVEN)
game.log("You give %s to %s.", self.o:getName{do_color=true}, item.actor.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment