mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Remove attached sounds when the active object is removed (#14341)
This commit is contained in:
@@ -471,6 +471,7 @@ void Client::handleCommand_ActiveObjectRemoveAdd(NetworkPacket* pkt)
|
||||
for (u16 i = 0; i < removed_count; i++) {
|
||||
*pkt >> id;
|
||||
m_env.removeActiveObject(id);
|
||||
removeActiveObjectSounds(id);
|
||||
}
|
||||
|
||||
// Read added objects
|
||||
|
Reference in New Issue
Block a user