From b1058e0b5987d2f031893db81de43aa7200833a7 Mon Sep 17 00:00:00 2001 From: Abbysssal Date: Mon, 7 Mar 2022 20:09:38 +0700 Subject: [PATCH] :speech_balloon: Rename PressAlarmButton to Press --- RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs b/RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs index 28c600c0c..2fa19307b 100644 --- a/RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs +++ b/RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs @@ -9,7 +9,7 @@ private static void Patch_AlarmButton() PatchInteract(); PatchInteractFar(); - RogueLibs.CreateCustomName("PressAlarmButton", NameTypes.Interface, new CustomNameInfo + RogueLibs.CreateCustomName("Press", NameTypes.Interface, new CustomNameInfo { English = "Press", Russian = @"Нажать", @@ -34,7 +34,7 @@ private static void Patch_AlarmButton() } else { - h.AddImplicitButton("PressAlarmButton", static m => + h.AddImplicitButton("Press", static m => { m.Object.lastHitByAgent = m.Object.interactingAgent; if (m.Agent.upperCrusty || m.Object.hacked)