mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Replace `table.getn with # and scene with SCENE`
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user