diff --git a/common/clock.go b/common/clock.go index 92bf8ec..c46dc37 100644 --- a/common/clock.go +++ b/common/clock.go @@ -250,6 +250,7 @@ func RegisterClockFunc(fs *ClockFunc) { if fs == nil { return } + if fs.OnSecTimerFunc != nil { fs.event = fs.event | 1<= this.robotLimit {