page=B events=B ezpz w tags
parent
b9392a38e2
commit
8115bdf3ff
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue