Skip to content

Commit

Permalink
add exception for small path
Browse files Browse the repository at this point in the history
  • Loading branch information
Malibu-Stacey committed Sep 13, 2023
1 parent 204013f commit b6dcbf2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RELEASE/scripts/autoscend/iotms/mr2023.ash
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,11 @@ boolean auto_getCinch(int goal)
// don't have enough cinch and don't have any free rests left
return false;
}
if(!haveAnyIotmAlternativeRestSiteAvailable() && get_dwelling() == $item[big rock])
if(!haveAnyIotmAlternativeRestSiteAvailable() && (get_dwelling() == $item[big rock] && !in_small()))
{
// don't have anywhere to rest
// get dwelling returns big rock when no place to rest in campsite
// exception for Small path as you can't use housing in-run so you will always have a big rock.
return false;
}
// use free rests until have enough cinch or out of rests
Expand Down

0 comments on commit b6dcbf2

Please sign in to comment.