diff --git a/UI/auth-mixer.cpp b/UI/auth-mixer.cpp index 373cb6e30..e9fc9a94e 100644 --- a/UI/auth-mixer.cpp +++ b/UI/auth-mixer.cpp @@ -181,6 +181,9 @@ static inline std::string get_config_str( bool MixerAuth::LoadInternal() { + if (!cef) + return false; + OBSBasic *main = OBSBasic::Get(); name = get_config_str(main, service(), "Name"); id = get_config_str(main, service(), "Id"); diff --git a/UI/auth-twitch.cpp b/UI/auth-twitch.cpp index 961e91bcf..e1d57dd5f 100644 --- a/UI/auth-twitch.cpp +++ b/UI/auth-twitch.cpp @@ -145,6 +145,9 @@ static inline std::string get_config_str( bool TwitchAuth::LoadInternal() { + if (!cef) + return false; + OBSBasic *main = OBSBasic::Get(); name = get_config_str(main, service(), "Name"); firstLoad = false;