Binato/server/packets/TourneyJoinMatchChannel.ts
2023-09-10 12:59:22 +01:00

11 lines
No EOL
297 B
TypeScript

import osu from "../../osuTyping";
import User from "../objects/User";
export default function TourneyMatchJoinChannel(user:User, matchId:number) {
const match = user.shared.multiplayerManager.GetMatchById(matchId);
if (match === undefined) {
return;
}
match.matchChatChannel.Join(user);
}