Skip to content

Commit 836fa32

Browse files
committed
check renders setting
1 parent 6f28ca4 commit 836fa32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/lambda/config/AutomationConfig.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ open class AutomationConfig(
8686

8787
init {
8888
onStaticRender { esp ->
89-
drawables.forEach { it.render(esp) }
89+
if (renders)
90+
drawables.forEach { it.render(esp) }
9091
}
9192
}
9293
}

0 commit comments

Comments
 (0)