diff --git a/inc/desition/desition.go_to_walking_to_home.lua b/inc/desition/desition.go_to_walking_to_home.lua index 46cc488..d98395b 100644 --- a/inc/desition/desition.go_to_walking_to_home.lua +++ b/inc/desition/desition.go_to_walking_to_home.lua @@ -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, diff --git a/inc/desition/desition.go_to_walking_to_office.lua b/inc/desition/desition.go_to_walking_to_office.lua index 458b3a8..8048f68 100644 --- a/inc/desition/desition.go_to_walking_to_office.lua +++ b/inc/desition/desition.go_to_walking_to_office.lua @@ -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, diff --git a/inc/screen/screen.home.lua b/inc/screen/screen.home.lua index 5cc7d1c..7fd5ce8 100644 --- a/inc/screen/screen.home.lua +++ b/inc/screen/screen.home.lua @@ -5,5 +5,5 @@ ScreenManager.register({ "go_to_toilet", "go_to_walking_to_office", }, - background_map_id = "bedroom", + background = "bedroom", }) diff --git a/inc/window/window.game.lua b/inc/window/window.game.lua index f4022bd..52bb785 100644 --- a/inc/window/window.game.lua +++ b/inc/window/window.game.lua @@ -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 = {}