Binato/server/packets/TourneyJoinMatchChannel.ts

11 lines
297 B
TypeScript
Raw Normal View History

2023-08-20 13:03:01 +01:00
import { osu } from "../../osuTyping";
import { User } from "../objects/User";
export function TourneyMatchJoinChannel(user:User, matchId:number) {
const match = user.shared.multiplayerManager.GetMatchById(matchId);
if (match === undefined) {
return;
}
match.matchChatChannel.Join(user);
}