Skip to content

Commit

Permalink
[backend] dodaj pozabljen break
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Oct 27, 2023
1 parent 800e5a2 commit 85da92c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/internal/ws/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ func (c *clientImpl) ReadPump() {
case *messages.Message_StartEarly:
c.logger.Debugw("received StartEarly packet", "gameId", c.game, "userId", c.user.ID)
c.server.StartGameEarly(c.user.ID, c.game)
break
default:
message.PlayerId = c.user.ID
events.Publish("server.broadcast", c.user.ID, message)
Expand Down

0 comments on commit 85da92c

Please sign in to comment.