Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 17c011d

Browse files
committed
Hopefully fixed a multiplayer sound bug
1 parent 6eeced4 commit 17c011d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Managers/AudioMan.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ namespace RTE {
452452
}
453453
if (lastSetGlobalPitchEvent) { list.push_back(*lastSetGlobalPitchEvent); }
454454
g_SoundEventsListMutex[player].unlock();
455+
456+
m_SoundEvents[player].clear();
455457
}
456458

457459
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)