Skip to content

Commit 79e53ad

Browse files
gxalphaRytoEX
authored andcommitted
Config: Use app_config instead of global_config for migration
The data that should be migrated used to be in global.ini. Since the frontend migration, it would be copied to both app and user config, we can just use the app config here.
1 parent 8bb5244 commit 79e53ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void Config::Save()
155155
json MigrateGlobalConfigData()
156156
{
157157
// Get existing global config
158-
config_t *config = obs_frontend_get_global_config();
158+
config_t *config = obs_frontend_get_app_config();
159159
json ret;
160160

161161
// Move values to temporary JSON blob

0 commit comments

Comments
 (0)