Skip to content

Commit

Permalink
Merge pull request #695 from zymex22/issue694
Browse files Browse the repository at this point in the history
#694 fixed issue by setting parameter to false
  • Loading branch information
Sn1p3rr3c0n authored Mar 28, 2023
2 parents defa9cb + 8b2292b commit 9545930
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private void AllowBills()
private List<Thing> Consumable()
{
return mySAL.GetAllTargetCells()
.SelectMany(c => c.AllThingsInCellForUse(this.map)) // Use GatherThingsUtility to also grab from belts
.SelectMany(c => c.AllThingsInCellForUse(this.map,false)) // Use GatherThingsUtility to also grab from belts
.Distinct<Thing>().ToList();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected IEnumerable<Thing> AllThingsForFueling
{
foreach (IntVec3 cell in GenAdj.CellsAdjacent8Way(this))
{
foreach (Thing item in GatherThingsUtility.AllThingsInCellForUse(cell, Map))
foreach (Thing item in GatherThingsUtility.AllThingsInCellForUse(cell, Map,false))
{
yield return item;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public IEnumerable<Thing> ThingsToSelect
foreach (var c in CellsToSelect)
{
if (!c.InBounds(this.Map)) continue;
foreach (Thing t in GatherThingsUtility.AllThingsInCellForUse(c, Map))
foreach (Thing t in GatherThingsUtility.AllThingsInCellForUse(c, Map,false))
{
yield return t;
}
Expand Down

0 comments on commit 9545930

Please sign in to comment.