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

Middle-click on the big map will make it disappear

git-svn-id: http://svn.net-core.org/repos/t-engine4@4943 51575b47-30f0-44d4-a5cc-537603b46e54
parent 3740222e
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ function _M:init()
elseif button == "right" then
game.level.map:moveViewSurround(dx, dy, 1000, 1000)
elseif event == "button" and button == "middle" then
game.key:triggerVirtual("SHOW_MAP")
self.key:triggerVirtual("SHOW_MAP")
end
end, nil, nil, 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