Skip to content

Commit

Permalink
fix check for vela'tohr in use_pc_empath?
Browse files Browse the repository at this point in the history
  • Loading branch information
vtcifer committed Sep 4, 2024
1 parent 1d6c756 commit bc47a9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safe-room.lic
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class SafeRoom
return false unless empath

DRCT.walk_to room_id
return false unless DRRoom.pcs.include?(empath) || DRRoom.room_objs.grep(@plant_regex)
return false unless DRRoom.pcs.include?(empath) || DRRoom.room_objs.grep(@plant_regex).size > 0

unless DRRoom.pcs.include?(empath)
if /.*vela.tohr (\w+)/ =~ DRRoom.room_objs.grep(@plant_regex).to_s
Expand Down

0 comments on commit bc47a9a

Please sign in to comment.