Skip to content

Commit

Permalink
Android behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
nagolove committed Mar 30, 2020
1 parent ecb0d81 commit 84b60c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ function love.load(arg)
menu:addItem(i18n("mainMenu.play"), nback)
menu:addItem(i18n("mainMenu.viewProgress"), pviewer)
menu:addItem(i18n("mainMenu.help"), help)
menu:addItem(i18n("mainMenu.exit"), function() love.event.quit() end)
if not onAndroid then
menu:addItem(i18n("mainMenu.exit"), function() love.event.quit() end)
end

if onAndroid then
love.window.setMode(0, 0, {fullscreen = true})
Expand Down

0 comments on commit 84b60c8

Please sign in to comment.