From 8115bdf3ff6fe0b99148cfc2138b4eb2c14cf5f9 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 15 Dec 2024 02:17:43 -0700 Subject: [PATCH] page=B events=B ezpz w tags --- cmd/server/ws.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/server/ws.go b/cmd/server/ws.go index dc8a62a..bbce085 100644 --- a/cmd/server/ws.go +++ b/cmd/server/ws.go @@ -76,8 +76,13 @@ func (s *S) serveWS(w http.ResponseWriter, r *http.Request) error { return err } points := 0 + tags := []map[string]any{} for _, kill := range v.Kills { points += kill.KillWord.Points + tags = append(tags, map[string]any{ + "k": kill.KillWord.Word, + "v": kill.Victim, + }) } items = append(items, map[string]any{ "name": name,