Small tweak to assert back to match existing format

Signed-off-by: Gene Walters <genewalt@amazon.com>
This commit is contained in:
Gene Walters
2021-12-06 09:06:04 -08:00
parent 4f9d4b7045
commit b50739f55e
@@ -167,14 +167,7 @@ namespace Multiplayer
void NetBindComponent::Deactivate()
{
if (m_needsToBeStopped)
{
AZ_Assert(
false,
"Entity (%s) appears to have been improperly deleted. Use MarkForRemoval to correctly clean up a networked entity.",
GetEntity()->GetName().c_str());
}
AZ_Assert(m_needsToBeStopped == false, "Entity (%s) appears to have been improperly deleted. Use MarkForRemoval to correctly clean up a networked entity.", GetEntity()->GetName().c_str());
m_handleLocalServerRpcMessageEventHandle.Disconnect();
if (NetworkRoleHasController(m_netEntityRole))
{