fix some contract issues (#3738)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
parent
bd6447e778
commit
440c90c72c
|
|
@ -25,6 +25,7 @@ public sealed class PickRandomTraitorSystem : EntitySystem
|
|||
private void OnRandomTraitorAssigned(Entity<PickRandomTraitorComponent> ent, ref ObjectiveAssignedEvent args)
|
||||
{
|
||||
_pickTarget.AssignRandomTarget(ent, ref args, mindId =>
|
||||
_role.MindHasRole<TraitorRoleComponent>(mindId));
|
||||
_role.MindHasRole<TraitorRoleComponent>(mindId),
|
||||
fallbackToAny: false); // bruh
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -165,6 +165,7 @@
|
|||
- type: PickRandomTraitor
|
||||
minContracts: 1
|
||||
- type: CodeCondition
|
||||
- type: SocialObjective # actually need this
|
||||
- type: AssistRandomContract
|
||||
blacklist:
|
||||
components:
|
||||
|
|
|
|||
Loading…
Reference in New Issue