bugfix: error message on untested version

We needed to initialize App.screen dimensions in this fork.
This commit is contained in:
Kartik K. Agaram 2023-12-06 23:49:24 -08:00
parent 6d97968873
commit b4c8ff509e
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ end
function pong.initialize(arg)
love.graphics.setBackgroundColor(1,1,1)
log_new('session')
love.window.setMode(N*3, N*3) -- the court
App.screen.width, App.screen.height = N*3, N*3 -- the court
App.screen.resize(App.screen.width, App.screen.height)
if Settings and Settings.pong then
pong.load_settings()
else