mirror of
https://gitgud.io/c0ffeeeeeeee/rjw-events.git
synced 2024-08-14 23:57:42 +00:00
issues with people standing on top of each other
This commit is contained in:
parent
470bafbfee
commit
59f8e9ff91
5 changed files with 8 additions and 8 deletions
|
@ -30,14 +30,7 @@ namespace RJW_Events
|
|||
this.FailOn(() => this.Partner.IsFighting());
|
||||
this.FailOn(() => this.pawn.Drafted);
|
||||
this.FailOn(() => this.Partner.Drafted);
|
||||
var t = Toils_Goto.GotoThing(this.iTarget, PathEndMode.ClosestTouch);
|
||||
t.AddPreInitAction(() =>
|
||||
{
|
||||
Job newJob = JobMaker.MakeJob(JobDefOf.Wait);
|
||||
Partner.jobs.StartJob(newJob, JobCondition.InterruptForced);
|
||||
});
|
||||
|
||||
yield return t;
|
||||
yield return new Toil
|
||||
{
|
||||
defaultCompleteMode = ToilCompleteMode.Delay,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue