Skip to content

Commit 6b4807a

Browse files
committed
Fix recycle output
1 parent ae9a643 commit 6b4807a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assemblies/Mending.dll

0 Bytes
Binary file not shown.

Source/JobDriver_DoBill.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ private Toil Store() {
5151
if (curJob.bill.GetStoreMode () != BillStoreModeDefOf.DropOnFloor) {
5252
IntVec3 vec;
5353
if (StoreUtility.TryFindBestBetterStoreCellFor (objectThing, actor, actor.Map, StoragePriority.Unstored, actor.Faction, out vec, true)) {
54-
actor.carryTracker.TryStartCarry (objectThing, 1);
54+
actor.carryTracker.TryStartCarry (objectThing, objectThing.stackCount);
5555
curJob.SetTarget(haulTI, vec);
5656
curJob.count = 99999;
5757
return;
5858
}
5959
}
60-
actor.carryTracker.TryStartCarry (objectThing, 1);
60+
actor.carryTracker.TryStartCarry (objectThing, objectThing.stackCount);
6161
actor.carryTracker.TryDropCarriedThing(actor.Position, ThingPlaceMode.Near, out objectThing);
6262

6363
actor.jobs.EndCurrentJob (JobCondition.Succeeded);

0 commit comments

Comments
 (0)