Issue Description: The field for main_deck_cards should show the cards that are in the current deck in a draft. However sometimes on start up the main_deck_cards actually have cards from a different event or deck instead. I believe this is caused by opening a different deck or event before starting the app in a draft.The cards in the main_deck_cards seem to be the last deck that I opened or visited.
Steps to reproduce:
- Open MTGA
- Edit a deck or enter any deck building screen.
- Start a human draft (Traditional or Premier)
- Launch an OW app and call getInfo()
- The main_deck_cards might contain the card ids for a deck unrelated to this draft.
Impact for my app: high
Do you currently have a workaround?
I am instead trying to assemble the current deck list by reading the logs. But it would be a lot better to be able to up the app and have the correct information available in the game info. This bug is also preventing me from completing features that rely on correct main_deck_cards information.
This bug is apparent in the following response from getInfo that occurred 2020-06-16 20:36:12
This call was made after the first pack was presented in a human draft. So I was able to pick a card but had no cards in my deck at the time this response was given by getInfo().OverwolfLogs_2020-06-16_21-18-18.zip (2.0 MB)
{“success”:true,“status”:“success”,“res”:{“gep_internal”:{“version_info”:“{"local_version":"151.1.1","public_version":"151.1.1","is_updated":true}”},“game_info”:{“scene”:“scene_draft_table_queue: "IKO_Premier_Draft"”,“main_deck_cards”:“{"cards":[{"card_id":71080,"card_name":"Flourishing Fox","card_amount":1},{"card_id":71077,"card_name":"Drannith Healer","card_amount":2},{"card_id":71103,"card_name":"Valiant Rescuer","card_amount":1},{"card_id":71123,"card_name":"Keep Safe","card_amount":1},{"card_id":71180,"card_name":"Drannith Stinger","card_amount":4},{"card_id":71183,"card_name":"Fire Prophecy","card_amount":1},{"card_id":71189,"card_name":"Go for Blood","card_amount":1},{"card_id":71097,"card_name":"Snare Tactician","card_amount":1},{"card_id":71118,"card_name":"Frost Lynx","card_amount":1},{"card_id":71126,"card_name":"Neutralize","card_amount":1},{"card_id":71196,"card_name":"Prickly Marmoset","card_amount":1},{"card_id":71204,"card_name":"Spelleater Wolverine","card_amount":1},{"card_id":71111,"card_name":"Capture Sphere","card_amount":1},{"card_id":71201,"card_name":"Rumbling Rockslide","card_amount":1},{"card_id":71073,"card_name":"Coordinated Charge","card_amount":2},{"card_id":71119,"card_name":"Frostveil Ambush","card_amount":4},{"card_id":71084,"card_name":"Imposing Vantasaur","card_amount":2},{"card_id":73123,"card_name":"Plains","card_amount":3},{"card_id":73126,"card_name":"Island","card_amount":4},{"card_id":73132,"card_name":"Mountain","card_amount":4},{"card_id":71324,"card_name":"Tranquil Cove","card_amount":1},{"card_id":71322,"card_name":"Swiftwater Cliffs","card_amount":1},{"card_id":71325,"card_name":"Wind-Scarred Crag","card_amount":1}]}”,“sideboard_cards”:“{"cards":}”},“match_info”:{“draft_pack”:null,“draft_cards”:null,“draft_picked_card”:null}}}