From bf128418cc85cf456d04df7938e4976fff300e40 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Tue, 29 Oct 2024 17:08:29 +0800 Subject: [PATCH] feat: render if need Signed-off-by: SouthFox --- game.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/game.scm b/game.scm index 3487ce0..a45431c 100644 --- a/game.scm +++ b/game.scm @@ -171,7 +171,8 @@ (begin ((timeout-function-func i)) (set-timeout-function-countdown! i (timeout-function-interval i)) - (render)) + (if (equal? *template* template-click) + (render))) (set-timeout-function-countdown! i (- (timeout-function-countdown i) 1)))) *update-list*) (timeout update-callback dt))