Skip to content

Commit

Permalink
Merge branch 'rpherbig:master' into almanac_lowest_mindstate
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR authored Feb 17, 2024
2 parents 9ab2c80 + d375263 commit b065f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common-travel.lic
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ module DRCT
rooms_searched += 1

if priotize_buddies && (rooms_searched <= search_rooms.size)
suitable_room = (DRRoom.pcs & UserVars.friends).any?
if (rooms_searched == search_rooms.size && (DRRoom.pcs & UserVars.friends).empty?)
suitable_room = ((DRRoom.pcs & UserVars.friends).any? && (DRRoom.pcs & UserVars.hunting_nemesis).none?)
if (rooms_searched == search_rooms.size && (DRRoom.pcs & UserVars.friends).empty? && (DRRoom.pcs & UserVars.hunting_nemesis).empty?)
echo("*** Reached last room in list, and found no buddies. Retrying for empty room. ***")
return find_empty_room(search_rooms, idle_room, predicate, min_mana, strict_mana, max_search_attempts, priotize_buddies = false)
end
Expand Down

0 comments on commit b065f1f

Please sign in to comment.