From 662f14282fb7bcfdf1fa9cbaf4b1d61f7341c1d9 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 17 Aug 2023 16:28:43 +0100 Subject: [PATCH] move identified before start_driver --- lib/obsws/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/obsws/base.rb b/lib/obsws/base.rb index 64cc542..77d6580 100644 --- a/lib/obsws/base.rb +++ b/lib/obsws/base.rb @@ -29,8 +29,8 @@ module OBSWS port = kwargs[:port] || 4455 @password = kwargs[:password] || "" @subs = kwargs[:subs] || 0 - setup_driver(host, port) and start_driver @identified = Identified.new + setup_driver(host, port) and start_driver WaitUtil.wait_for_condition( "successful identification", delay_sec: 0.01,