added get_option_name to Range option for spoiler generation

This commit is contained in:
espeon65536 2021-06-08 08:59:06 -05:00
parent 6e33181f05
commit d7a46f089e
1 changed files with 2 additions and 0 deletions

View File

@ -139,6 +139,8 @@ class Range(Option):
return cls(data)
return cls.from_text(str(data))
def get_option_name(self):
return str(self.value)
class OptionNameSet(Option):
default = frozenset()