public string ClaimModule(string userNickName, string targetModule) { if (playerName != null) { return(string.Format(TwitchPlaySettings.data.ModulePlayer, targetModule, playerName, headerText.text)); } if (ClaimedList.Count(nick => nick.Equals(userNickName)) >= TwitchPlaySettings.data.ModuleClaimLimit && !Solved) { return(string.Format(TwitchPlaySettings.data.TooManyClaimed, userNickName, TwitchPlaySettings.data.ModuleClaimLimit)); } else { ClaimedList.Add(userNickName); SetBannerColor(claimedBackgroundColour); playerName = userNickName; return(string.Format(TwitchPlaySettings.data.ModuleClaimed, targetModule, playerName, headerText.text)); } }