Fix getCurrentScene() returning garbage if scene group has type random (#125)

This commit is contained in:
WarmUpTill
2021-02-20 18:08:47 +01:00
committed by GitHub
parent 9aa0b31bff
commit f4902933ab
2 changed files with 13 additions and 14 deletions

View File

@@ -37,7 +37,7 @@ struct SceneGroup {
int currentCount = -1;
std::chrono::high_resolution_clock::time_point lastAdvTime;
OBSWeakSource lastRandomScene = nullptr;
int lastRandomScene = -1;
inline SceneGroup(){};
inline SceneGroup(std::string name_) : name(name_){};