Preserve production order identities and preflight whole placement batches

This commit is contained in:
faumaray committed 2026-12-02 22:30:07 +03:00
1 parent 4ba64f7e62
commit 2a3ec924de
16 files changed
+661 -88

No files matched your search

+1 -1
View File
@@ -113,7 +113,7 @@ Test SnapshotTests::test_mid_delivery_and_paused_command_state_survives_owner()
source->step();
carrying = source->assignment_path_cache_hits() > 0 &&
std::any_of(source->agents().begin(), source->agents().end(), [](const Agent& agent) {
return !agent.inventory.empty() && agent.production_index != no_entity_index;
return !agent.inventory.empty() && agent.production_id != 0;
});
}
require(carrying);