Skip to content

Commit

Permalink
Freeze more tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Ketasaja committed Sep 24, 2024
1 parent 09f4786 commit 96dd03f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions zap/src/output/luau/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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("");
}
Expand Down
2 changes: 2 additions & 0 deletions zap/src/output/luau/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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("");
}
Expand Down

0 comments on commit 96dd03f

Please sign in to comment.