Allow weekly delivery turn-in while in duty queue
This commit is contained in:
parent
d310c9ff1b
commit
ca4bc07eeb
@ -431,7 +431,8 @@ internal sealed unsafe class GameFunctions
|
|||||||
if (!AgentSatisfactionSupply.Instance()->IsAgentActive())
|
if (!AgentSatisfactionSupply.Instance()->IsAgentActive())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var flags = _condition.AsReadOnlySet();
|
var flags = _condition.AsReadOnlySet().ToHashSet();
|
||||||
|
flags.Remove(ConditionFlag.InDutyQueue); // irrelevant
|
||||||
return flags.Count == 2 &&
|
return flags.Count == 2 &&
|
||||||
flags.Contains(ConditionFlag.NormalConditions) &&
|
flags.Contains(ConditionFlag.NormalConditions) &&
|
||||||
flags.Contains(ConditionFlag.OccupiedInQuestEvent);
|
flags.Contains(ConditionFlag.OccupiedInQuestEvent);
|
||||||
|
Loading…
Reference in New Issue
Block a user