private void HandlePartyMembersChanged(object sender, LuaEventArgs args) { if (haveFoundTankAtGroupForming) { if (!IsInGroup) { haveFoundTankAtGroupForming = false; Dlog("we left group so resetting tank search"); } } InGroupState checkNow = IsInGroup ? InGroupState.YES : InGroupState.NO; if (checkLast != checkNow) { checkLast = checkNow; Dlog("in group status changed to: {0}", checkNow.ToString()); TargetFilterSetup(); } }
private void HandlePartyMembersChanged(object sender, LuaEventArgs args) { if (haveFoundTankAtGroupForming) { if (!IsInGroup) { haveFoundTankAtGroupForming = false; Dlog("we left group so resetting tank search"); } } InGroupState checkNow = IsInGroup ? InGroupState.YES : InGroupState.NO; if (checkLast != checkNow) { checkLast = checkNow; Dlog("in group status changed to: {0}", checkNow.ToString()); TargetFilterSetup(); } }