forked from Dniel97/artemis
Fix crash when battle_gift is None
This commit is contained in:
parent
d039638a16
commit
03d2c42c36
@ -1356,6 +1356,7 @@ class IDACSeason2(IDACBase):
|
||||
"point": timetrial["point"],
|
||||
}
|
||||
|
||||
battle_gift_data = {}
|
||||
# check if the battle gift event is active
|
||||
if ver_str in self.battle_gift_event_id:
|
||||
# get the users battle gifts, for the current active battle gift event
|
||||
|
Loading…
Reference in New Issue
Block a user