Update smlua_audio_utils.c

This commit is contained in:
ThePlayerRolo 2025-07-19 17:58:53 -04:00 committed by GitHub
parent 88e084d5ef
commit 707dc7ca80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -158,7 +158,7 @@ void smlua_audio_utils_replace_sequence(u8 sequenceId, u8 bankId, u8 defaultVolu
}
u8 smlua_audio_utils_allocate_sequence(void) {
if (sCustomSeqIndex< MAX_AUDIO_OVERRIDE) {
if (sCustomSeqIndex < MAX_AUDIO_OVERRIDE) {
return sCustomSeqIndex++;
}
LOG_ERROR("Cannot allocate more custom sequences.");