refact by claude
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Zsolt Tasnadi
2026-02-23 10:22:41 +01:00
parent 272a54ea87
commit 7deeffa8d6
20 changed files with 85 additions and 77 deletions

View File

@@ -23,16 +23,16 @@ end
function IntroWindow.update()
IntroWindow.y = IntroWindow.y - IntroWindow.speed
local lines = 1
local lines = 1
for _ in string.gmatch(IntroWindow.text, "\n") do
lines = lines + 1
end
if IntroWindow.y < -lines * 8 then
GameWindow.set_state("menu")
if IntroWindow.y < -lines * 8 then
Window.set_current("menu")
end
if Input.menu_confirm() then
GameWindow.set_state("menu")
if Input.menu_confirm() then
Window.set_current("menu")
end
end