Server Details panel now shows real data

This commit is contained in:
2026-09-11 15:57:00 -05:00
parent 5092c828a7
commit 2f07cde109
3 changed files with 149 additions and 132 deletions

View File

@@ -38,7 +38,7 @@ module W3DHubLauncher
# status player data
data["status"]["players"].each do |player_data|
team = @teams.find { |t| t.id == player_data["id"] }
team = @teams.find { |t| t.id == player_data["team"] }
next unless team
team.players << Player.new(player_data)