screen exit handler
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:
2026-03-17 23:33:13 +01:00
parent 30c894c2f0
commit 883ad5fcbf
3 changed files with 11 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ function EndWindow.update()
else
-- NO: increment day and go home
Day.increase()
Context.game.current_screen = "home"
Util.go_to_screen_by_id("home")
Window.set_current("game")
-- Initialize home screen
local home_screen = Screen.get_by_id("home")