diff --git a/src/utils/Obs.cpp b/src/utils/Obs.cpp index 0896179a..fd98e3cb 100644 --- a/src/utils/Obs.cpp +++ b/src/utils/Obs.cpp @@ -161,7 +161,7 @@ std::vector Utils::Obs::ListHelper::GetSceneList() obs_source_t *scene = sceneList.sources.array[i]; json sceneJson; sceneJson["sceneName"] = obs_source_get_name(scene); - sceneJson["sceneIndex"] = i; + sceneJson["sceneIndex"] = sceneList.sources.num - (i + 1); ret.push_back(sceneJson); }