From 8d98f3e2b409884db075f88422ba0bb39ccf7e4a Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Sun, 20 Oct 2024 14:22:14 -0400 Subject: [PATCH] fix p5 call snafu --- build/ludus.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ludus.mjs b/build/ludus.mjs index 3ee0423..a6c4631 100644 --- a/build/ludus.mjs +++ b/build/ludus.mjs @@ -357,7 +357,7 @@ export function p5 (commands) { for (const call of calls) { p5_calls.push(call) } - p5_calls.push("pop") + p5_calls.push(["pop"]) } p5_calls[0] = ["background", ...resolve_color(background_color)] p5_render_turtle(states[states.length - 1], p5_calls)