From 3fb97b13341936f71aeb7082598b533bbc32feeb Mon Sep 17 00:00:00 2001 From: Sergey Pereslavtsev Date: Fri, 12 Nov 2021 18:13:20 +0000 Subject: [PATCH] Added more info to comment Signed-off-by: Sergey Pereslavtsev --- .../Code/Source/Pipeline/NetworkPrefabProcessor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Gems/Multiplayer/Code/Source/Pipeline/NetworkPrefabProcessor.cpp b/Gems/Multiplayer/Code/Source/Pipeline/NetworkPrefabProcessor.cpp index 338804184c..2a6baed411 100644 --- a/Gems/Multiplayer/Code/Source/Pipeline/NetworkPrefabProcessor.cpp +++ b/Gems/Multiplayer/Code/Source/Pipeline/NetworkPrefabProcessor.cpp @@ -167,7 +167,9 @@ namespace Multiplayer if (parentId.IsValid() && !prefabNetEntityIds.contains(parentId)) { // Clear parent ID for net entities parented to a non-net entity. - // To be addressed by the spawnable aliases system. + // To be addressed by the spawnable aliases system where non-net entities + // will be spawned together with the networked ones in which case we'll keep + // the cross-spawnable references. transformComponent->SetParent(AZ::EntityId()); } }