Fixed removal of player's prefab on disconnect

This commit is contained in:
AMZN-Olex
2021-06-21 15:53:33 -04:00
parent 44d8e7b804
commit fcbec8c202
4 changed files with 18 additions and 17 deletions
@@ -623,6 +623,12 @@ namespace Multiplayer
void NetBindComponent::HandleMarkedDirty()
{
if (m_needsToBeStopped)
{
// Entity is about to deleted, it's not safe to proceed
return;
}
m_dirtiedEvent.Signal();
if (NetworkRoleHasController(GetNetEntityRole()))
{