mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Fix scoring panel not working after next match load.
This commit is contained in:
@@ -99,7 +99,6 @@ func (web *Web) scoringPanelWebsocketHandler(w http.ResponseWriter, r *http.Requ
|
||||
} else {
|
||||
realtimeScore = &web.arena.BlueRealtimeScore
|
||||
}
|
||||
score := &(*realtimeScore).CurrentScore
|
||||
|
||||
ws, err := websocket.NewWebsocket(w, r)
|
||||
if err != nil {
|
||||
@@ -128,6 +127,7 @@ func (web *Web) scoringPanelWebsocketHandler(w http.ResponseWriter, r *http.Requ
|
||||
return
|
||||
}
|
||||
|
||||
score := &(*realtimeScore).CurrentScore
|
||||
scoreChanged := false
|
||||
|
||||
if command == "commitMatch" {
|
||||
|
||||
Reference in New Issue
Block a user