From 2a87334d38d91972a32619b02726260a5aa944a8 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 21 Mar 2021 14:44:42 +0100 Subject: [PATCH] Init noMatchDelay to zero. (#148) A non-zero value might be confusing for users which set up the plugin for the first time. --- src/headers/switcher-data-structs.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/switcher-data-structs.hpp b/src/headers/switcher-data-structs.hpp index 1e6020b1..deb0bb22 100644 --- a/src/headers/switcher-data-structs.hpp +++ b/src/headers/switcher-data-structs.hpp @@ -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;