mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Fading soungs: Fix client crash on older servers
This commit is contained in:
parent
ad9fcf859e
commit
468eeb618e
@ -780,7 +780,7 @@ void Client::handleCommand_PlaySound(NetworkPacket* pkt)
|
||||
|
||||
try {
|
||||
*pkt >> fade;
|
||||
} catch (SerializationError &e) {};
|
||||
} catch (PacketError &e) {};
|
||||
|
||||
// Start playing
|
||||
int client_id = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user