/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2014-07-05 00:04:06 UTC
  • Revision ID: josh@9ix.org-20140705000406-9h8qk5f0j6oz0xo3
try more gracefully handling different "am" versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
           end,
52
52
   onUpdate = function (self)
53
53
                 if the.keys:justPressed('escape', 'n') then
54
 
                   if love.system.getOS() == 'Android' then
55
 
                     the.app:quit()
56
 
                   else
57
54
                    self:deactivate()
58
 
                   end
59
55
                 elseif the.keys:justPressed('q', 'y') then
60
56
                    if the.profiler then
61
57
                       the.profiler:stop()