Replace `table.getn with # and scene with SCENE`

This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-04-19 21:23:09 +07:00
parent cedc6e888e
commit 9c8628a014
13 changed files with 67 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
local FullscreenScene = Scene:extend()
local FullscreenScene = SCENE:extend()
require 'load.save'
FullscreenScene.title = "Fullscreen"
@@ -10,7 +10,7 @@ function FullscreenScene:update()
config["fullscreen"] = not config["fullscreen"]
saveConfig()
love.window.setFullscreen(config["fullscreen"])
scene = TitleScene()
SCENE = TitleScene()
end
function FullscreenScene:render()