Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
💬 Rename PressAlarmButton to Press
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasmical committed Mar 7, 2022
1 parent 42079a1 commit b1058e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RogueLibsCore/Interactions/VanillaInteractions/AlarmButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ private static void Patch_AlarmButton()
PatchInteract<AlarmButton>();
PatchInteractFar<AlarmButton>();

RogueLibs.CreateCustomName("PressAlarmButton", NameTypes.Interface, new CustomNameInfo
RogueLibs.CreateCustomName("Press", NameTypes.Interface, new CustomNameInfo
{
English = "Press",
Russian = @"Нажать",
Expand All @@ -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)
Expand Down

0 comments on commit b1058e0

Please sign in to comment.