mirror of
https://github.com/frozenpandaman/s3s.git
synced 2026-09-30 05:07:36 -05:00
correctly count all losses in session results
This commit is contained in:
2
s3s.py
2
s3s.py
@@ -1307,7 +1307,7 @@ def check_for_new_results(which, cached_battles, cached_jobs, battle_wins, battl
|
||||
foundany = True
|
||||
if result["data"]["vsHistoryDetail"]["myTeam"]["judgement"] == "WIN":
|
||||
outcome = "Victory"
|
||||
elif result["data"]["vsHistoryDetail"]["myTeam"]["judgement"] == "LOSE":
|
||||
elif result["data"]["vsHistoryDetail"]["myTeam"]["judgement"] in ("LOSE", "DEEMED_LOSE", "EXEMPTED_LOSE"):
|
||||
outcome = "Defeat"
|
||||
else:
|
||||
outcome = "Draw"
|
||||
|
||||
Reference in New Issue
Block a user