fix(spawner): spawner objects are never sent to clients, as on live

Live constructed no spawner object (LOT 176) in any capture, property
building included; spawners made while players are in the world (property
models) were sent to everyone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 10:43:14 -05:00
parent 2d7b5cca13
commit 91942b16a2

View File

@@ -130,7 +130,8 @@ LWOOBJID dZoneManager::MakeSpawner(SpawnerInfo info) {
if (!spawnerComponent) spawnerComponent = entity->AddComponent<SpawnerComponent>(-1);
spawnerComponent->SetSpawner(std::move(spawner));
Game::entityManager->ConstructEntity(entity);
// A spawner object is never sent to clients: live constructed none (no LOT 176 among the 145,770 constructions in
// the captures, property building included)
AddSpawner(objectId, spawnerPtr);