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,