From ce3348883350d21821aed720a098b8515077564d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 16:32:40 +0400 Subject: fix(render): reveal buildings when scripted construction ends Publish completed constructions with the same fresh world snapshot that the render tick consumes. Activate their prepared render roots and collision bindings through the existing spawn path. An unmodified Third Part start shows the actual factory appearing on the site between two Vulkan frames. Terrain rebuilding for a new basement remains open. --- apps/fparkan-game/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps') diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index 8c2e12f9..4a76f016 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -11201,6 +11201,12 @@ impl StaticVulkanApp { .iter() .map(|unit| (unit, "factory_robot_completed")), ) + .chain( + frame + .constructed_buildings + .iter() + .map(|building| (building, "building_constructed")), + ) .chain(deployed_mine.iter().map(|unit| (unit, "mine_deployed"))) { let index = reinforcement.object_index; -- cgit v1.2.3