Optimize renderer

This commit is contained in:
2026-09-24 18:52:20 -03:00
parent 14aba6b129
commit d12fa84b00
10 changed files with 452 additions and 149 deletions
+1
View File
@@ -12,6 +12,7 @@ export function start_game(world: ClientWorld) {
world.clear_entities();
const dimension = new Entity("dimension");
world.dimension?.dispose();
world.dimension = new Dimension(world, world.connection?.seed);
for (const [x, y, z, id] of world.connection?.initial_changes ?? []) {
world.dimension.record_change(x, y, z, id);