Actually leave the match on request

This commit is contained in:
Holly Stubbs 2022-11-27 23:48:53 +00:00
parent b6a0d5e4b1
commit 92d4f70af4
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -220,7 +220,7 @@ export async function HandleRequest(req:Request, res:Response, packet:Buffer) {
// TODO: Match leave so the matches actually close
case Packets.Client_PartMatch:
//await multiplayerManager.leaveMultiplayerMatch(PacketUser);
await PacketUser.match?.leaveMatch(PacketUser);
break;
case Packets.Client_MatchLock: