Skip to content

Commit

Permalink
Revert "Don't call onClientElementStreamIn for already streamed-in el…
Browse files Browse the repository at this point in the history
…ements (PR #825)"

This reverts commit 827845f.
  • Loading branch information
botder committed Feb 20, 2019
1 parent ff9ba8b commit 66823bd
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Client/mods/deathmatch/logic/CClientStreamElement.cpp
Expand Up @@ -95,14 +95,11 @@ void CClientStreamElement::NotifyCreate()
m_bDoubleSided = IsDoubleSided();
SetDoubleSided(m_bDoubleSided);

if (!m_bStreamedIn)
{
m_bStreamedIn = true;
m_bAttemptingToStreamIn = false;
m_bStreamedIn = true;
m_bAttemptingToStreamIn = false;

CLuaArguments Arguments;
CallEvent("onClientElementStreamIn", Arguments, true);
}
CLuaArguments Arguments;
CallEvent("onClientElementStreamIn", Arguments, true);
}

void CClientStreamElement::NotifyUnableToCreate()
Expand Down

0 comments on commit 66823bd

Please sign in to comment.