mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 11:45:29 +01:00
Fading soungs: Fix client crash on older servers
This commit is contained in:
@@ -780,7 +780,7 @@ void Client::handleCommand_PlaySound(NetworkPacket* pkt)
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
*pkt >> fade;
|
*pkt >> fade;
|
||||||
} catch (SerializationError &e) {};
|
} catch (PacketError &e) {};
|
||||||
|
|
||||||
// Start playing
|
// Start playing
|
||||||
int client_id = -1;
|
int client_id = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user