Skip to content

Commit c686e1b

Browse files
Fix SP feedback in FloatMenuOptionProvider_DraftedMove:PawnGotoAction (#817)
When right-clicking in SP, the FeedbackGoto fleck wouldn't appear unless clicking on a tile that the pawn was moving towards. This fixes this issue.
1 parent 9259452 commit c686e1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Client/Patches/Feedback.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> inst
250250
static bool CustomTryTakeOrderedJob(Pawn_JobTracker self, Job job, JobTag? tag = JobTag.Misc,
251251
bool requestQueueing = false)
252252
{
253-
if (self.TryTakeOrderedJob(job, tag, requestQueueing) && TickPatch.currentExecutingCmdIssuedBySelf)
253+
if (self.TryTakeOrderedJob(job, tag, requestQueueing) && (TickPatch.currentExecutingCmdIssuedBySelf || Multiplayer.Client == null))
254254
FleckMaker.Static(job.targetA.Cell, self.pawn.Map, FleckDefOf.FeedbackGoto);
255255
return false;
256256
}

0 commit comments

Comments
 (0)