mirror of https://github.com/AxioDL/metaforce.git
Add missing conditional
This commit is contained in:
parent
f73b1b641f
commit
7d33e6ede3
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue