Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cloning: different check for 'our object'
  • Loading branch information
blattersturm committed Jul 2, 2019
1 parent 552d082 commit 6802db8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/components/gta-net-five/src/CloneManager.cpp
Expand Up @@ -901,9 +901,10 @@ bool CloneManagerLocal::HandleCloneUpdate(const msgClone& msg)
return true;
}

auto& extData = m_extendedData[msg.GetObjectId()];
auto obj = objIt->second;

if (msg.GetClientId() == m_netLibrary->GetServerNetID())
if (extData.clientId == m_netLibrary->GetServerNetID())
{
Log("%s: our object, bailing out\n", __func__);

Expand Down

0 comments on commit 6802db8

Please sign in to comment.