Merge pull request #11577 from ISylvox/AudioEffectChorus-VoiceCount
Fix Voice_Count Issues in AudioEffectChorus [ci skip]
This commit is contained in:
commit
0a6446ff36
1 changed files with 1 additions and 2 deletions
|
@ -182,9 +182,8 @@ Ref<AudioEffectInstance> AudioEffectChorus::instance() {
|
|||
|
||||
void AudioEffectChorus::set_voice_count(int p_voices) {
|
||||
|
||||
ERR_FAIL_COND(p_voices < 1 || p_voices >= MAX_VOICES);
|
||||
ERR_FAIL_COND(p_voices < 1 || p_voices > MAX_VOICES);
|
||||
voice_count = p_voices;
|
||||
_change_notify();
|
||||
}
|
||||
|
||||
int AudioEffectChorus::get_voice_count() const {
|
||||
|
|
Loading…
Reference in a new issue