page=B events=B ezpz w tags
This commit is contained in:
@@ -76,8 +76,13 @@ func (s *S) serveWS(w http.ResponseWriter, r *http.Request) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
points := 0
|
points := 0
|
||||||
|
tags := []map[string]any{}
|
||||||
for _, kill := range v.Kills {
|
for _, kill := range v.Kills {
|
||||||
points += kill.KillWord.Points
|
points += kill.KillWord.Points
|
||||||
|
tags = append(tags, map[string]any{
|
||||||
|
"k": kill.KillWord.Word,
|
||||||
|
"v": kill.Victim,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
items = append(items, map[string]any{
|
items = append(items, map[string]any{
|
||||||
"name": name,
|
"name": name,
|
||||||
|
|||||||
Reference in New Issue
Block a user