mirror of
https://github.com/onyx-and-iris/voicemeeter-rb.git
synced 2024-11-15 15:00:46 +00:00
unless
This commit is contained in:
parent
6e3cbd5fa1
commit
3ca29ccb5f
@ -20,7 +20,7 @@ module Voicemeeter
|
||||
@delay = kwargs[:delay] || DELAY
|
||||
@login_timeout = kwargs[:login_timeout] || LOGIN_TIMEOUT
|
||||
@bits = kwargs[:bits] || 64
|
||||
if ![32, 64].include? @bits
|
||||
unless [32, 64].include? @bits
|
||||
logger.warn "kwarg bits got #{@bits}, expected either 32 or 64, defaulting to 64"
|
||||
@bits = 64
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user