mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 17:42:46 +00:00
Fix: [EN] Handle omitted assignment names
This commit is contained in:
parent
d61924a42b
commit
5ce334ca8c
@ -19,6 +19,16 @@ class AssignmentEntry(Keyword):
|
||||
def __hash__(self) -> int:
|
||||
return super().__hash__()
|
||||
|
||||
@classmethod
|
||||
def _compare(cls, name, keyword):
|
||||
# 2024.05.08 Assignment names are omitted in EN
|
||||
if name == keyword:
|
||||
return True
|
||||
# namelesslandnameless.. Nameless Land, Nameless People
|
||||
if name[:17] == keyword[:17]:
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
@dataclass(repr=False)
|
||||
class AssignmentEntryDetailed(Keyword):
|
||||
|
Loading…
Reference in New Issue
Block a user