Fixing a nullptr crash in NetworkTime
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user