hide minimap by default

This commit is contained in:
Eduardo Bart 2012-04-09 18:47:29 -03:00
parent 48d2027327
commit 2c53d0b1dc
1 changed files with 2 additions and 1 deletions

View File

@ -34,11 +34,12 @@ function Minimap.init()
Keyboard.bindKeyDown('Ctrl+M', Minimap.toggle)
minimapButton = TopMenu.addGameToggleButton('minimapButton', 'Minimap (Ctrl+M)', 'minimap.png', Minimap.toggle)
minimapButton:setOn(true)
minimapButton:setOn(false)
minimapWidget = loadUI('minimap.otui', GameInterface.getMapPanel())
minimapWidget.onMouseRelease = onMinimapMouseRelease
minimapWidget.onMouseWheel = onMinimapMouseWheel
minimapWidget:hide()
end
function Minimap.terminate()