Add missing conditional

This commit is contained in:
Phillip Stephens 2016-07-24 16:17:59 -07:00
parent f73b1b641f
commit 7d33e6ede3
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ void CRelayTracker::SendMsgs(const TAreaId& areaId, CStateManager& stateMgr)
if (((relay.GetRelayId() >> 16) & 0x3FF) != areaId) if (((relay.GetRelayId() >> 16) & 0x3FF) != areaId)
continue; continue;
if (!HasRelay(relay.GetRelayId())) if (!HasRelay(relay.GetRelayId()) || relay.GetActive())
continue; continue;
RemoveRelay(relay.GetRelayId()); RemoveRelay(relay.GetRelayId());