Small optimization
parent
09fe6ae380
commit
f160c3855e
|
@ -127,9 +127,8 @@ func update() {
|
|||
return
|
||||
}
|
||||
|
||||
if voice.Ready == false || voice.OpusSend == nil {
|
||||
if !voice.Ready || voice.OpusSend == nil {
|
||||
return
|
||||
}
|
||||
|
||||
voice.OpusSend <- opus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue