about summary refs log tree commit diff stats
path: root/app.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-03 12:30:16 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-03 12:30:16 -0800
commitf6bc670ef689aa6485f3e3ad242efb5271b48f58 (patch)
treea432c7937b502e0e1fb65c40b182c563ae7d96c5 /app.lua
parentf37b45196aff116bd1df68e82aebd94e99ab7725 (diff)
downloadlines.love-f6bc670ef689aa6485f3e3ad242efb5271b48f58.tar.gz
yet another bugfix to the version check
We could now get test failures before the version check, which might be
confusing.
Diffstat (limited to 'app.lua')
-rw-r--r--app.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/app.lua b/app.lua
index 4142380..e4b67cc 100644
--- a/app.lua
+++ b/app.lua
@@ -8,10 +8,10 @@
 --     and a source editor, while giving each the illusion of complete
 --     control.
 function love.run()
-  App.version_check()
   App.snapshot_love()
   -- Tests always run at the start.
   App.run_tests_and_initialize()
+  App.version_check()
 --?   print('==')
 
   love.timer.step()
@@ -107,7 +107,6 @@ function App.run_tests_and_initialize()
   App.disable_tests()
   App.initialize_globals()
   App.initialize(love.arg.parseGameArguments(arg), arg)
-  App.version_check()
 end
 
 function App.run_tests()