ongeki: remove BM card duplicate check

develop
Hay1tsme 2025-04-09 18:09:41 -04:00
parent 2640f23a00
commit ada9377c06
1 changed files with 0 additions and 12 deletions

View File

@ -74,18 +74,6 @@ class OngekiReader(BaseReader):
troot = ET.fromstring(f.read())
card_id = int(troot.find("Name").find("id").text)
# skip already existing cards
# Hay1tsme 2025/04/08: What is this for, and why does it only check for BM cards?
if (
await self.data.static.get_card(
OngekiConstants.VER_ONGEKI_BRIGHT_MEMORY, card_id
)
is not None
):
self.logger.info(f"Card {card_id} already added, skipping")
continue
name = troot.find("Name").find("str").text
chara_id = int(troot.find("CharaID").find("id").text)
nick_name = troot.find("NickName").text