From e62c9de7e95455ef562b20655cb0d2b91f30c9f8 Mon Sep 17 00:00:00 2001 From: Orkuncakilkaya Date: Tue, 29 Sep 2026 18:46:43 +0300 Subject: [PATCH] ludic.lab: lab_take is @alloc_ok - a shot's path and its caption are made once per picture taken, not every frame, so a program's Draw reaching it under arena strict is not frame code keeping what it makes Co-Authored-By: Claude Opus 5.5 --- packages/ludic.lab/loop.ludic | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/ludic.lab/loop.ludic b/packages/ludic.lab/loop.ludic index 20cfed87..d597af56 100644 --- a/packages/ludic.lab/loop.ludic +++ b/packages/ludic.lab/loop.ludic @@ -33,6 +33,7 @@ function lab_caption(lab_st: LabState, render3d_st: mut Render3dState) -> void { if len(lab_st.lb_note) > 0 { ov_text(render3d_st, 20, 42, 18, lab_st.lb_note, 0.8, 0.8, 0.8, 1.0) } ov_end(render3d_st) } +@alloc_ok("lab: a shot's path per picture taken") function lab_take(lab_st: mut LabState, render3d_st: mut Render3dState) -> void { lab_st.lb_wait += 1 if lab_st.lb_wait < lab_st.lb_settle { return }