broadcast game state when move timer expires
This commit is contained in:
parent
5c37d6cd6f
commit
e588382794
1
game.go
1
game.go
@ -122,6 +122,7 @@ func gameActor(ctx context.Context, g *game.Match, dealer, chall person, join <-
|
|||||||
case <-tick.C:
|
case <-tick.C:
|
||||||
slog.InfoContext(ctx, "out of time")
|
slog.InfoContext(ctx, "out of time")
|
||||||
g.Expire()
|
g.Expire()
|
||||||
|
broadcast(ctx, g, dealer, chall, obs, dl)
|
||||||
gameOver(ctx, dealer, chall, obs)
|
gameOver(ctx, dealer, chall, obs)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user