diff --git a/animation.go b/animation.go index 967a057..05b1036 100644 --- a/animation.go +++ b/animation.go @@ -91,7 +91,9 @@ func appendImage(img string, a *Animation) { func (a *Animation) Next() (image.Image, <-chan time.Time, error) { var incoming incomingMessage - a.animateMario() + if a.countDown != 5000 { + a.animateMario() + } if a.images["doorbell"] != nil { if a.countDown > 0 { a.ctx.DrawImageAnchored(a.images["doorbell"], 0, 0, 0, 0)