Skip to content
Snippets Groups Projects
Commit 9d3e7731 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@4304 51575b47-30f0-44d4-a5cc-537603b46e54
parent 65b75d00
No related branches found
No related tags found
No related merge requests found
......@@ -683,14 +683,14 @@ function _M:playerPickup()
local titleupdator = self:getEncumberTitleUpdator("Pickup")
local d d = self:showPickupFloor(titleupdator(), nil, function(o, item)
local o = self:pickupFloor(item, true)
o.__new_pickup = true
if o then o.__new_pickup = true end
self.changed = true
d:updateTitle(titleupdator())
d:used()
end)
else
local o = self:pickupFloor(1, true)
o.__new_pickup = true
if o then o.__new_pickup = true end
self:sortInven()
self:useEnergy()
self.changed = true
......
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