Skip to content

Commit

Permalink
Fix recycle output
Browse files Browse the repository at this point in the history
  • Loading branch information
notfood committed May 31, 2017
1 parent ae9a643 commit 6b4807a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Assemblies/Mending.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/JobDriver_DoBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ private Toil Store() {
if (curJob.bill.GetStoreMode () != BillStoreModeDefOf.DropOnFloor) {
IntVec3 vec;
if (StoreUtility.TryFindBestBetterStoreCellFor (objectThing, actor, actor.Map, StoragePriority.Unstored, actor.Faction, out vec, true)) {
actor.carryTracker.TryStartCarry (objectThing, 1);
actor.carryTracker.TryStartCarry (objectThing, objectThing.stackCount);
curJob.SetTarget(haulTI, vec);
curJob.count = 99999;
return;
}
}
actor.carryTracker.TryStartCarry (objectThing, 1);
actor.carryTracker.TryStartCarry (objectThing, objectThing.stackCount);
actor.carryTracker.TryDropCarriedThing(actor.Position, ThingPlaceMode.Near, out objectThing);

actor.jobs.EndCurrentJob (JobCondition.Succeeded);
Expand Down

0 comments on commit 6b4807a

Please sign in to comment.