Add HTML rendering for sessions and card images; refactor output handling in SimpleSession

This commit is contained in:
2025-10-16 08:12:26 +02:00
parent 9aa447f2f6
commit fc751af1ef
8 changed files with 49 additions and 43 deletions

View File

@@ -39,7 +39,7 @@ object WebUI extends CustomThread with EventListener with UI {
if (event.status == TECHNICAL_MATCH_STARTED) {
val matchImpl = event.objects.head.asInstanceOf[Match]
for (player <- matchImpl.totalplayers) {
PodGameManager.addSession(SimpleSession(player.id, ""))
PodGameManager.addSession(SimpleSession(player.id, List()))
}
} else {
PodGameManager.transmitAll(event)