From 608316afafc984de76e76d349166487f94ae090b Mon Sep 17 00:00:00 2001 From: Mahtra Date: Mon, 21 Oct 2024 10:38:07 +1300 Subject: [PATCH] making it scale --- dependency.lic | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dependency.lic b/dependency.lic index 8707c4ec81..57aff3351c 100644 --- a/dependency.lic +++ b/dependency.lic @@ -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("5713 is not a valid safe room setting.") + # 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("#{settings.safe_room} is not a valid safe room setting.") _respond("Exiting.") _respond("Please edit your yaml to use a different safe room.") exit