1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fading soungs: Fix client crash on older servers

This commit is contained in:
SmallJoker 2017-05-03 13:48:46 +02:00
parent ad9fcf859e
commit 468eeb618e

View file

@ -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;