Skip to content

Commit

Permalink
fix: display DT instead of NCDT
Browse files Browse the repository at this point in the history
  • Loading branch information
cyperdark committed Jun 3, 2023
1 parent 3734b39 commit c5b9fd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Utils/osuMods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,8 @@ export const getOsuModsString = (mods: OsuMods): string => {
enabled.filter((r) => (converted += r.n));

if (converted === '') return 'NM';
if (converted.includes('DT') && converted.includes('NC'))
return converted.replace('DT', '');

return converted;
};

0 comments on commit c5b9fd1

Please sign in to comment.