diff --git a/ILEditing/MechanicILChanges.cs b/ILEditing/MechanicILChanges.cs index bab9586447..f621447cce 100644 --- a/ILEditing/MechanicILChanges.cs +++ b/ILEditing/MechanicILChanges.cs @@ -252,7 +252,7 @@ namespace CalamityMod.ILEditing return; } - if (CalamityKeybinds.DashHotkey.GetAssignedKeysOrEmpty().Count == 0) + if (CalamityKeybinds.DashHotkey.GetAssignedKeysOrEmpty(PlayerInput.CurrentInputMode).Count == 0) orig(self, out dir, out dashing, dashStartAction); else { diff --git a/Utilities/ItemUtils.cs b/Utilities/ItemUtils.cs index d04a35ceae..de041faf9f 100644 --- a/Utilities/ItemUtils.cs +++ b/Utilities/ItemUtils.cs @@ -12,6 +12,7 @@ using Terraria.Audio; using Terraria.ID; using Terraria.ModLoader; using CalamityMod.Systems.Collections; +using Terraria.GameInput; namespace CalamityMod { @@ -54,7 +55,7 @@ namespace CalamityMod if (Main.dedServ || mhk is null) return ""; - List keys = mhk.GetAssignedKeysOrEmpty(); + List keys = mhk.GetAssignedKeysOrEmpty(PlayerInput.CurrentInputMode); if (keys.Count == 0) return GetText("Misc.HotkeyNotBound").Value; else