remove case for pong
This commit is contained in:
parent
ad6ad5ed2c
commit
61e7476600
1 changed files with 1 additions and 5 deletions
|
@ -177,10 +177,6 @@ module.exports = async function(req, res) {
|
||||||
UserPresenceBundle(PacketUser);
|
UserPresenceBundle(PacketUser);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case packetIDs.client_pong: // Pretty sure this is just a client ping
|
|
||||||
// so we probably don't do anything here
|
|
||||||
break; // It's probably just the client wanting to pull data down. (That's exactly what it is)
|
|
||||||
|
|
||||||
case packetIDs.client_startSpectating:
|
case packetIDs.client_startSpectating:
|
||||||
Spectator.startSpectatingUser(PacketUser, CurrentPacket.data);
|
Spectator.startSpectatingUser(PacketUser, CurrentPacket.data);
|
||||||
break;
|
break;
|
||||||
|
@ -328,7 +324,7 @@ module.exports = async function(req, res) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Ignore client_beatmapInfoRequest and client_receiveUpdates
|
// Ignore client_beatmapInfoRequest and client_receiveUpdates
|
||||||
if (CurrentPacket.id == 68 || CurrentPacket.id == 79) break;
|
if (CurrentPacket.id == 68 || CurrentPacket.id == 79 || CurrentPacket.id == 4) break;
|
||||||
// Print out unimplemented packet
|
// Print out unimplemented packet
|
||||||
console.dir(CurrentPacket);
|
console.dir(CurrentPacket);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue