|
|
|
|
@ -356,7 +356,7 @@ namespace Multiplayer
|
|
|
|
|
|
|
|
|
|
INetworkEntityManager::EntityList NetworkEntityManager::CreateEntitiesImmediate(
|
|
|
|
|
const PrefabEntityId& prefabEntryId, NetEntityId netEntityId, NetEntityRole netEntityRole,
|
|
|
|
|
const AZ::Transform& transform)
|
|
|
|
|
AutoActivate autoActivate, const AZ::Transform& transform)
|
|
|
|
|
{
|
|
|
|
|
INetworkEntityManager::EntityList returnList;
|
|
|
|
|
|
|
|
|
|
@ -402,6 +402,11 @@ namespace Multiplayer
|
|
|
|
|
transformComponent->SetWorldTM(transform);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (autoActivate == AutoActivate::DoNotActivate)
|
|
|
|
|
{
|
|
|
|
|
clone->SetRuntimeActiveByDefault(false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
AzFramework::GameEntityContextRequestBus::Broadcast(
|
|
|
|
|
&AzFramework::GameEntityContextRequestBus::Events::AddGameEntity, clone);
|
|
|
|
|
|
|
|
|
|
|