Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified TSH.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/characters.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/TSHScoreboardWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,10 @@ def ClearScore(self):
def ChangeSetData(self, data):
StateManager.BlockSaving()

StateManager.Set("score.phase_size", data.get("numSeeds"))
StateManager.Set("score.num_groups", data.get("groupCount"))
StateManager.Set("score.round", data.get("round"))

try:
if data.get("round_name"):
self.scoreColumn.findChild(
Expand Down
3 changes: 3 additions & 0 deletions src/TournamentDataProvider/StartGGDataProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,9 @@ def ParseMatchDataNewApi(self, _set):

setData = {
"id": _set.get("id"),
"round": _set.get("round"),
"groupCount" : deep_get(_set, "phaseGroup.phase.groupCount"),
"numSeeds": deep_get(_set, "phaseGroup.phase.numSeeds", -1),
"round_name": StartGGDataProvider.TranslateRoundName(_set.get("fullRoundText")),
"tournament_phase": phase_name,
"bracket_type": bracket_type,
Expand Down
3 changes: 3 additions & 0 deletions src/TournamentDataProvider/StartGGSetQuery.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,14 @@ query SetQuery($id: ID!) {
}
winnerId
}
round
phaseGroup {
phase {
name
groupCount
bracketType
numSeeds
seedNum
}
displayIdentifier
}
Expand Down