Skip to content

Commit

Permalink
Fix short mod values for RD & FI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lekuruu committed Dec 18, 2023
1 parent f7b0d57 commit b080cae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions constants/mods.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ def short(self) -> str:
Mods.Key6: "K6",
Mods.Key7: "K7",
Mods.Key8: "K8",
Mods.KeyMod: "",
Mods.FadeIn: "FadeIn",
Mods.Random: "Random",
Mods.FadeIn: "FI",
Mods.Random: "RD",
Mods.SpeedMods: "",
Mods.KeyMod: "",
Mods.LastMod: "",
Mods.FreeModAllowed: ""
}[mod]
Expand Down Expand Up @@ -103,8 +103,8 @@ def from_string(cls, mod_string: str):
"K6": Mods.Key6,
"K7": Mods.Key7,
"K8": Mods.Key8,
"FadeIn": Mods.FadeIn,
"Random": Mods.Random
"FI": Mods.FadeIn,
"RD": Mods.Random
}

for mod in parsed_mods:
Expand Down

0 comments on commit b080cae

Please sign in to comment.