Skip to content

Commit

Permalink
Fix softlock on profile edit screen
Browse files Browse the repository at this point in the history
bad temp fix
  • Loading branch information
poco0317 committed Nov 29, 2018
1 parent ab1c596 commit 45da444
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Expand Up @@ -66,7 +66,8 @@ do
end
end

local menu_items = {
local menu_items = {}
--[[
{
name = "weight",
get = "GetWeightPounds",
Expand Down Expand Up @@ -113,7 +114,7 @@ if #char_list > 0 then
item_type = "list",
list = char_list
}
end
end]]
menu_items[#menu_items + 1] = {name = "exit", item_type = "exit"}

local menu_cursor
Expand Down Expand Up @@ -171,7 +172,7 @@ end

local function exit_screen()
local profile_id = GAMESTATE:GetEditLocalProfileID()
PROFILEMAN:SaveLocalProfile(profile_id)
--PROFILEMAN:SaveLocalProfile(profile_id)
SCREENMAN:GetTopScreen():StartTransitioningScreen("SM_GoToNextScreen")
SOUND:PlayOnce(THEME:GetPathS("Common", "Start"))
end
Expand Down
2 changes: 1 addition & 1 deletion Themes/_fallback/metrics.ini
Expand Up @@ -3113,7 +3113,7 @@ TimerSeconds=-1

[ScreenOptionsEditProfile]
Class="ScreenOptionsEditProfile"
PageOnCommand=visible,false
PageOnCommand=visible,true

[ScreenOptionsCustomizeProfile]
Class="ScreenWithMenuElements"
Expand Down

0 comments on commit 45da444

Please sign in to comment.