Skip to content

Commit

Permalink
Merge pull request #6661 from BinuDR/master-1
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR authored Aug 5, 2023
2 parents 274abc3 + 3bb8cc5 commit 1c75de2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions burgle.lic
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ class Burgle
DRC.message("You have empty burgle_settings. These must be set before running.")
return false
end
if @burgle_room.is_a?(Array)
@burgle_room = DRCT.sort_destinations(@burgle_room)[0]
end
unless @burgle_room.is_a?(Integer)
DRC.message("Invalid burgle_settings:room setting. This must be room id of the room you want to burgle from.")
return false
Expand Down

0 comments on commit 1c75de2

Please sign in to comment.