screen init, update, optional decision condition
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-02-21 23:35:00 +01:00
parent 0b25ecc793
commit 7e1dd28808
13 changed files with 26 additions and 9 deletions

View File

@@ -85,6 +85,7 @@ function Context.new_game()
reset_context_to_initial_state()
Context.game_in_progress = true
MenuWindow.refresh_menu_items()
Context.screens[Context.current_screen].init()
end
function Context.save_game()
@@ -105,4 +106,5 @@ function Context.load_game()
Context.game_in_progress = true
MenuWindow.refresh_menu_items()
Context.screens[Context.current_screen].init()
end