From 583f17153b25fa4ea63dc7d30450f4204eb70470 Mon Sep 17 00:00:00 2001 From: Tyfon <29051038+tyfon7@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:04:03 -0700 Subject: [PATCH] Click outside delete item dialog works --- Patches/ConfirmationDialogKeysPatches.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Patches/ConfirmationDialogKeysPatches.cs b/Patches/ConfirmationDialogKeysPatches.cs index 791cff4..b4d419d 100644 --- a/Patches/ConfirmationDialogKeysPatches.cs +++ b/Patches/ConfirmationDialogKeysPatches.cs @@ -81,8 +81,10 @@ namespace UIFixes return; } - // Note the space after firewall, because unity doesn't trim names and BSG is incompetent - Button button = __instance.transform.Find("Window/Firewall ")?.gameObject.GetOrAddComponent