Skip to content

Commit

Permalink
fix: missing go in move to czar judging
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Aug 29, 2024
1 parent 748e3d5 commit 274d8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/network/connection_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func (g *ConnectionManager) MoveToCzarJudgingPhase(gid uuid.UUID, info gameLogic
wg := sync.WaitGroup{}
wg.Add(len(game.playerConnectionMap))
for pid, conn := range game.playerConnectionMap {
func(pid uuid.UUID, conn *WsConnection) {
go func(pid uuid.UUID, conn *WsConnection) {
defer wg.Done()
moveToNextPhaseMsg := RpcOnCzarJudgingPhaseMsg{
AllPlays: info.AllPlays,
Expand Down

0 comments on commit 274d8d3

Please sign in to comment.