Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/StackMerger/WorkGiver_StackMerge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ public override bool ShouldSkip( Pawn pawn )
return !PotentialWorkThingsGlobal( pawn ).Any();
}

public override Job JobOnThing( Pawn pawn, Thing thing )
public override Job JobOnThing( Pawn pawn, Thing thing, bool forced = false )
{
LogIfDebug( $"{pawn.NameStringShort} is trying to merge {thing.Label}..." );

// standard hauling checks
if ( !HaulAIUtility.PawnCanAutomaticallyHaulFast( pawn, thing ) )
if ( !HaulAIUtility.PawnCanAutomaticallyHaulFast( pawn, thing, forced ) )
return null;

LogIfDebug( $"{thing.LabelCap} can be hauled..." );
Expand Down