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

Glowing chests are displayed open once opened

git-svn-id: http://svn.net-core.org/repos/t-engine4@6432 51575b47-30f0-44d4-a5cc-537603b46e54
parent c17b999b
No related branches found
No related tags found
No related merge requests found
......@@ -84,6 +84,12 @@ g.block_move = function(self, x, y, who, act, couldpass)
self.block_move = nil
self.special = nil
self.autoexplore_ignore = true
if self.add_displays and self.add_displays[1] then
self.add_displays[1].image = "object/chestopen3.png"
self:removeAllMOs()
game.level.map:updateMap(x, y)
end
end end, "Open", "Leave")
return false
......
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