Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

fix black ops 4 and blackout profile request #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion callofduty/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def VerifyMode(value: Mode, title: Title):
raise InvalidMode(f"{value.name} is not a valid mode")
elif (value == Mode.Zombies) and (title == Title.ModernWarfare):
raise InvalidMode(f"{value.name} is not a valid mode for title {title.name}")
elif (value == Mode.Warzone) and (title != Title.ModernWarfare):
elif (value == Mode.Warzone) and not (title == Title.ModernWarfare or title == Title.BlackOps4):
raise InvalidMode(f"{value.name} is not a valid mode for title {title.name}")


Expand Down