public override void OnPlayerTouch(HSPlayer ply, HSPlayer other) { List <HSPlayer> plyColliding = new() { ply, other }; HSPlayer plySeeker = plyColliding.Where(x => x.Team is SeekerTeam).FirstOrDefault(); HSPlayer plyHider = plyColliding.Where(x => x.Team is HiderTeam).FirstOrDefault(); if (plySeeker is null || plyHider is null) { return; } ChatBox.AddChatEntry(To.Everyone, "", $"Seeker {plySeeker.GetClientOwner().Name} has caught {plyHider.GetClientOwner().Name}"); plyHider.Team = plySeeker.Team; if (HSGame.Instance.Hiders.Players.Count == 0) { teamWon(HSGame.Instance.Seekers); } }