Skip to content

Commit

Permalink
Temporarely disabled GameMode filtering via assistant as it needs som…
Browse files Browse the repository at this point in the history
…e optimization
  • Loading branch information
Luux committed Jan 28, 2021
1 parent 345ce30 commit c9aec10
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions arbsmapdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ def missing_argument_assistant(self):
# so ARBSMapDo will only ask for mode if not ranked_only.
# However, if you really want to do it, you can do this via command line or preset

if self.config.get("gamemode") is None and not self.config["ranked_only"]:
print("Filter by Game Mode? (default: None/No filtering)")
for key in modes:
print("{} - {}".format(key, modes[key]))
mode_num = self.get_validated_input(int, 0, choices=range(len(modes.values())))
mode = modes[mode_num]
self.config["gamemode"] = mode
# if self.config.get("gamemode") is None and not self.config["ranked_only"]:
# print("Filter by GameMode? (default: None/No filtering)")
# for key in modes:
# print("{} - {}".format(key, modes[key]))
# mode_num = self.get_validated_input(int, 0, choices=range(len(modes.values())))
# mode = modes[mode_num]
# self.config["gamemode"] = mode

if self.config.get("stars_min") is None:
print("Minimum Stars? (Default: 0)")
Expand Down

0 comments on commit c9aec10

Please sign in to comment.