From c078bd80225f3a85d73072fa2c2c8cab902422db Mon Sep 17 00:00:00 2001 From: ernisto Date: Sun, 23 Mar 2025 23:10:22 -0300 Subject: [PATCH] fix: dont bump update_id if batch are enabled --- src/graph.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph.luau b/src/graph.luau index 64f0abe..68329c0 100644 --- a/src/graph.luau +++ b/src/graph.luau @@ -247,7 +247,7 @@ end local function update_descendants(root: SourceNode, is_root_update: boolean?) local n0 = update_queue.n - if is_root_update then update_id += 1 end + if is_root_update and not flags.batch then update_id += 1 end queue_children_for_update(root) if flags.batch then return end