Skip to content

Commit bd2bb94

Browse files
committed
Fix edge case
1 parent e09b85f commit bd2bb94

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Client/mods/deathmatch/logic/CClientStreamer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,9 @@ void CClientStreamer::OnElementEnterSector(CClientStreamElement* pElement, CClie
674674

675675
// Remove the element from its old sector
676676
pPreviousSector->Remove(pElement);
677+
678+
if (pPreviousSector->IsActivated())
679+
m_ActiveElements.remove(pElement);
677680
}
678681
if (pSector)
679682
{

0 commit comments

Comments
 (0)