add and control flow operator

This commit is contained in:
onyx-and-iris 2023-07-30 00:06:39 +01:00
parent 86b84aeef9
commit aeec0635ca

View File

@ -21,8 +21,7 @@ module OBSWS
port = kwargs[:port] || 4455 port = kwargs[:port] || 4455
@password = kwargs[:password] || "" @password = kwargs[:password] || ""
@subs = kwargs[:subs] || 0 @subs = kwargs[:subs] || 0
setup_driver(host, port) setup_driver(host, port) and start_driver
start_driver
WaitUtil.wait_for_condition( WaitUtil.wait_for_condition(
"successful identification", "successful identification",
delay_sec: 0.01, delay_sec: 0.01,