From 657cb3dc30be33c8a832a4dd92bbbee3b2faf739 Mon Sep 17 00:00:00 2001 From: mytja Date: Sat, 28 Oct 2023 15:38:22 +0200 Subject: [PATCH] =?UTF-8?q?[backend]=20skraj=C5=A1aj=20=C4=8Das=20=C4=8Dak?= =?UTF-8?q?anja?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/internal/ws/results.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/internal/ws/results.go b/backend/internal/ws/results.go index 764ad38..50005c5 100644 --- a/backend/internal/ws/results.go +++ b/backend/internal/ws/results.go @@ -91,12 +91,12 @@ func (s *serverImpl) Results(gameId string) { s.logger.Debugw("radelci dodani vsem udeležencem igre") go func() { - for i := 0; i <= 15; i++ { + for i := 0; i <= 10; i++ { s.Broadcast( "", gameId, &messages.Message{ - Data: &messages.Message_GameStartCountdown{GameStartCountdown: &messages.GameStartCountdown{Countdown: int32(15 - i)}}, + Data: &messages.Message_GameStartCountdown{GameStartCountdown: &messages.GameStartCountdown{Countdown: int32(10 - i)}}, }, ) time.Sleep(time.Second)