sig/network - bugfix - removal of player prefabs on disconnect
sig/network - bugfix - removal of player prefabs on disconnect
This commit is contained in:
@@ -123,8 +123,10 @@ namespace Multiplayer
|
||||
|
||||
for (NetworkEntityHandle entityHandle : m_rewoundEntities)
|
||||
{
|
||||
NetBindComponent* netBindComponent = entityHandle.GetNetBindComponent();
|
||||
netBindComponent->NotifySyncRewindState();
|
||||
if (NetBindComponent* netBindComponent = entityHandle.GetNetBindComponent())
|
||||
{
|
||||
netBindComponent->NotifySyncRewindState();
|
||||
}
|
||||
}
|
||||
m_rewoundEntities.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user