about summary refs log tree commit diff stats
path: root/app.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-25 13:35:32 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-25 13:35:32 -0700
commit442133fe7f629a825bbf30b05e29cc85b836c93c (patch)
tree7a15dfba5bf4e7762c8a19be33fa3371273861af /app.lua
parentfa103ca2e8674dd389888d77f9ef60f361a0c704 (diff)
downloadlines.love-442133fe7f629a825bbf30b05e29cc85b836c93c.tar.gz
no, make sure to compute line width after screen dimensions
Diffstat (limited to 'app.lua')
-rw-r--r--app.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.lua b/app.lua
index ffcb30e..311be18 100644
--- a/app.lua
+++ b/app.lua
@@ -14,6 +14,7 @@ function love.run()
   -- Tests always run at the start.
   App.run_tests()
 
+--?   print('==')
   App.disable_tests()
   if App.initialize_globals then App.initialize_globals() end
   if App.initialize then App.initialize(love.arg.parseGameArguments(arg), arg) end
@@ -42,7 +43,7 @@ function love.run()
       love.graphics.origin()
       love.graphics.clear(love.graphics.getBackgroundColor())
 
-      if App.draw then App:draw() end
+      if App.draw then App.draw() end
 
       love.graphics.present()
     end