public void OnBanchoMatchNoBeatmap(BanchoMatchNoBeatmapArgs args)
        {
            if (args.pr.JoinedRoom == null)
            {
                return;
            }
            var slot = args.pr.JoinedRoom.GetSlotByUserId(args.pr.User.Id);

            slot.Status = MultiSlotStatus.NoMap;

            args.pr.JoinedRoom.Update();
        }
Example #2
0
        public void OnBanchoMatchNoBeatmap(BanchoMatchNoBeatmapArgs args)
        {
            if (args.Pr.ActiveMatch == null)
            {
                return;
            }

            var slot = args.Pr.ActiveMatch.GetSlotByUserId(args.Pr.User.Id);

            slot.Status = MultiSlotStatus.NoMap;

            args.Pr.ActiveMatch.Update();
        }