feature/background-manager #6

Merged
mr.zero merged 3 commits from feature/background-manager into master 2026-02-18 18:29:52 +00:00
4 changed files with 4 additions and 4 deletions
Showing only changes of commit 6303781534 - Show all commits

View File

@@ -1,6 +1,6 @@
DesitionManager.register({
id = "go_to_walking_to_home",
label = "Go to Walking to home",
label = "Walking to home",
handle = function()
Util.go_to_screen_by_id("walking_to_home")
end,

View File

@@ -1,6 +1,6 @@
DesitionManager.register({
id = "go_to_walking_to_office",
label = "Go to Walking to office",
label = "Walking to office",
handle = function()
Util.go_to_screen_by_id("walking_to_office")
end,

View File

@@ -5,5 +5,5 @@ ScreenManager.register({
"go_to_toilet",
"go_to_walking_to_office",
},
background_map_id = "bedroom",
background = "bedroom",
})

View File

@@ -1,6 +1,6 @@
function GameWindow.draw()
local screen = Context.screens[Context.current_screen]
MapManager.draw(screen.background_map_id)
MapManager.draw(screen.background)
UI.draw_top_bar(screen.name)
if screen and screen.decisions and #screen.decisions > 0 then
local available_desitions = {}