This commit is contained in:
Miki 2023-12-06 11:00:38 +01:00
parent 555e7b85ea
commit 34ecc9f036
17 changed files with 70 additions and 57 deletions

View file

@ -193,8 +193,8 @@ func (stream *PriorityStream) timer() {
// Send current time to clients message channel
stream.Message <- msg
time.Sleep(time.Second * 1)
stream.Duration = stream.Duration - time.Second
time.Sleep(time.Second * 1)
} else {
timer.Stop()
}