Minor refactor to address CR

Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
AMZN-Olex
2021-09-15 18:43:56 -04:00
parent 9e31c3ebf5
commit 2637fa45b8
@@ -103,12 +103,7 @@ namespace Multiplayer
bool NetworkHierarchyChildComponent::IsHierarchicalChild() const
{
if (GetHierarchyRoot() != InvalidNetEntityId)
{
return true;
}
return false;
return GetHierarchyRoot() != InvalidNetEntityId;
}
AZ::Entity* NetworkHierarchyChildComponent::GetHierarchicalRoot() const