diff options
Diffstat (limited to 'timers.go')
-rw-r--r-- | timers.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -31,6 +31,10 @@ func InitTimers() { Duration: msg.TimerStartDuration, Cleared: false, } + // If this parameter is less than 10, a value of 10 is used + if t.Duration < 10 { + t.Duration = 10 + } t.StartTimer() timers[id] = t return nil |