mirror of
https://github.com/SK-la/Ez2Lazer.git
synced 2026-03-13 11:20:28 +00:00
Prevent tagging beatmaps when played with conversion mods (#36684)
Closes #36553. Supersedes #36614. As discussed in #36614, the only exception to this is `ModClassic`.
This commit is contained in:
@@ -21,6 +21,7 @@ using osu.Game.Graphics.Containers;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Game.Online.Placeholders;
|
||||
using osu.Game.Rulesets.Mods;
|
||||
using osu.Game.Scoring;
|
||||
using osu.Game.Screens.Ranking.Statistics.User;
|
||||
using osuTK;
|
||||
@@ -258,6 +259,8 @@ namespace osu.Game.Screens.Ranking.Statistics
|
||||
preventTaggingReason = "Play the beatmap in its original ruleset to contribute to beatmap tags!";
|
||||
else if (localUserScore.Rank < ScoreRank.C)
|
||||
preventTaggingReason = "Set a better score to contribute to beatmap tags!";
|
||||
else if (localUserScore.Mods.Any(m => (m.Type == ModType.Conversion) && !(m is ModClassic)))
|
||||
preventTaggingReason = "Play this beatmap without conversion mods to contribute to beatmap tags!";
|
||||
|
||||
if (preventTaggingReason == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user