SCR_CaptureArea adds character to m_mOccupants map on every query if character inside area, but remove only 1 when character leave area
so GetOccupantsCount() returns wrong number
At line 157:
if (faction) maybe need change to if (faction && !m_mOccupants[faction].Contains(character))
for make character unique in m_mOccupants map