refactors some code to better pickup AZ_LOADSCREENCOMPONENT_ENABLED's value

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2022-01-03 16:44:48 -08:00
parent 70ffece2a9
commit 5b0cb9cdff
6 changed files with 6 additions and 10 deletions
@@ -219,9 +219,6 @@ namespace LmbrCentral
PolygonPrismShapeDebugDisplayComponent::CreateDescriptor(),
TubeShapeDebugDisplayComponent::CreateDescriptor(),
AssetSystemDebugComponent::CreateDescriptor(),
#if AZ_LOADSCREENCOMPONENT_ENABLED
LoadScreenComponent::CreateDescriptor(),
#endif // if AZ_LOADSCREENCOMPONENT_ENABLED
});
// This is an internal Amazon gem, so register it's components for metrics tracking, otherwise the name of the component won't get sent back.
@@ -248,9 +245,6 @@ namespace LmbrCentral
azrtti_typeid<AudioSystemComponent>(),
azrtti_typeid<BundlingSystemComponent>(),
azrtti_typeid<AssetSystemDebugComponent>(),
#if AZ_LOADSCREENCOMPONENT_ENABLED
azrtti_typeid<LoadScreenComponent>(),
#endif // if AZ_LOADSCREENCOMPONENT_ENABLED
};
}