Skip to content

Commit 24a7529

Browse files
authored
Merge pull request AttorneyOnline#1135 from AttorneyOnline/fix-sfx-loop
Fix SFX looping ignoring the sender's flag
2 parents 1fc91dc + 5fec302 commit 24a7529

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/courtroom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,7 @@ void Courtroom::play_sfx()
46124612
sfx_player->findAndPlaySfx(sfx_name);
46134613
if (Options::getInstance().loopingSfx())
46144614
{
4615-
sfx_player->setLooping(ao_app->get_sfx_looping(current_char, current_emote) == "1");
4615+
sfx_player->setLooping(m_chatmessage[LOOPING_SFX] == "1");
46164616
}
46174617
}
46184618

0 commit comments

Comments
 (0)