Fixing a nullptr crash in NetworkTime

This commit is contained in:
AMZN-Olex
2021-06-22 23:13:23 -04:00
parent 10673967c3
commit 35364c9403
@@ -128,9 +128,11 @@ namespace Multiplayer
for (NetworkEntityHandle entityHandle : m_rewoundEntities)
{
NetBindComponent* netBindComponent = entityHandle.GetNetBindComponent();
if (NetBindComponent* netBindComponent = entityHandle.GetNetBindComponent())
{
netBindComponent->NotifySyncRewindState();
}
}
m_rewoundEntities.clear();
}
}