diff --git a/zap/src/output/luau/client.rs b/zap/src/output/luau/client.rs index dd5d66df..b26dd91a 100644 --- a/zap/src/output/luau/client.rs +++ b/zap/src/output/luau/client.rs @@ -920,6 +920,7 @@ impl<'src> ClientOutput<'src> { self.push_line("end"); } self.push_line(""); + self.push_line("table.freeze(polling_payload_queues)"); self.push_line("table.freeze(polling_iterators)"); self.push_line(""); } diff --git a/zap/src/output/luau/server.rs b/zap/src/output/luau/server.rs index 80bd5e3c..d1af0289 100644 --- a/zap/src/output/luau/server.rs +++ b/zap/src/output/luau/server.rs @@ -984,6 +984,8 @@ impl<'a> ServerOutput<'a> { self.push_line("end"); } self.push_line(""); + self.push_line("table.freeze(polling_player_queues)"); + self.push_line("table.freeze(polling_payload_queues)"); self.push_line("table.freeze(polling_iterators)"); self.push_line(""); }