Skip to content

Commit

Permalink
making it scale
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Oct 20, 2024
1 parent 9ec7de9 commit 608316a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions dependency.lic
Original file line number Diff line number Diff line change
Expand Up @@ -1287,9 +1287,10 @@ class SetupFiles
settings.hometown ||= UserVars.hometown
settings.hometown = $HOMETOWN if $HOMETOWN

# Blacklist Empath courtyard as a safe room
if settings.safe_room == 5713 || settings.safe_room_id == 5713
_respond("<pushBold/>5713 is not a valid safe room setting.<popBold/>")
# Denylist for rooms we don't support being used as safe_rooms
disallowed_safe_rooms = [5713]
if disallowed_safe_rooms.include?(settings.safe_room) || disallowed_safe_rooms.include?(settings.safe_room_id)
_respond("<pushBold/>#{settings.safe_room} is not a valid safe room setting.<popBold/>")
_respond("<pushBold/>Exiting.<popBold/>")
_respond("<pushBold/>Please edit your yaml to use a different safe room.<popBold/>")
exit
Expand Down

0 comments on commit 608316a

Please sign in to comment.