diff options
-rw-r--r-- | player/lua/auto_profiles.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/auto_profiles.lua b/player/lua/auto_profiles.lua index fba57cc74a..f43e6b28f3 100644 --- a/player/lua/auto_profiles.lua +++ b/player/lua/auto_profiles.lua @@ -163,7 +163,7 @@ local function load_profiles() properties = {}, status = nil, dirty = true, -- need re-evaluate - has_restore_opt = v["profile-restore"] ~= "default" + has_restore_opt = v["profile-restore"] and v["profile-restore"] ~= "default" } profiles[#profiles + 1] = profile have_dirty_profiles = true |