mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 08:45:27 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user