Skip to content

Commit

Permalink
Fix item purchase events?
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjp93 committed Oct 6, 2024
1 parent aff56c2 commit c3473aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions match/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,22 +632,22 @@ def import_advanced_timeline(match_id: str, overwrite=False):
...
case tmparsers.DragonSoulGivenEventModel():
...
case tmparsers.ItemPurchasedEventModel():
item_purchase_events.append(ItemPurchasedEvent(
case tmparsers.ItemDestroyedEventModel():
item_destroyed_events.append(ItemDestroyedEvent(
frame_id=frame.id,
timestamp=evm.timestamp,
item_id=evm.itemId,
participant_id=evm.participantId,
))
case tmparsers.ItemDestroyedEventModel():
item_destroyed_events.append(ItemDestroyedEvent(
case tmparsers.ItemSoldEventModel():
item_sold_events.append(ItemSoldEvent(
frame_id=frame.id,
timestamp=evm.timestamp,
item_id=evm.itemId,
participant_id=evm.participantId,
))
case tmparsers.ItemSoldEventModel():
item_sold_events.append(ItemSoldEvent(
case tmparsers.ItemPurchasedEventModel():
item_purchase_events.append(ItemPurchasedEvent(
frame_id=frame.id,
timestamp=evm.timestamp,
item_id=evm.itemId,
Expand Down

0 comments on commit c3473aa

Please sign in to comment.