Init noMatchDelay to zero. (#148)

A non-zero value might be confusing for users which set up the plugin
for the first time.
This commit is contained in:
WarmUpTill
2021-03-21 14:44:42 +01:00
committed by GitHub
parent 1a4724ff21
commit 2a87334d38

View File

@@ -71,7 +71,7 @@ struct SwitcherData {
SceneGroup *lastRandomSceneGroup;
OBSWeakSource nonMatchingScene;
NoMatch switchIfNotMatching = NO_SWITCH;
double noMatchDelay;
double noMatchDelay = 0;
double noMatchCount = 0;
StartupBehavior startupBehavior = PERSIST;
AutoStartEvent autoStartEvent = AutoStartEvent::NEVER;