/traderous

To get this branch, use:
bzr branch /bzr/traderous

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-06-10 23:42:44 UTC
  • Revision ID: josh@9ix.org-20130610234244-r0qlqjqjymdc5nhs
move fullscreen into love.run so it doesn't keep toggling on ctl-alt-R

Show diffs side-by-side

added added

removed removed

312
312
 
313
313
              self.view = GameView:new()
314
314
 
315
 
              -- should fail silently if it can't go to fullscreen...
316
 
              love.graphics.toggleFullscreen()
317
 
 
318
315
              if DEBUG then
319
316
                 self.console:watch('VERSION', 'VERSION')
320
317
                 self.console:watch('updateTook', 'the.updateTook')
357
354
               end
358
355
            end
359
356
}
 
357
 
 
358
realRun = love.run
 
359
function love.run()
 
360
   -- should fail silently if it can't go to fullscreen...
 
361
   love.graphics.toggleFullscreen()
 
362
 
 
363
   realRun()
 
364
end
 
 
'\\ No newline at end of file'