Dash Hotkey + Hotkey Tooltips now support controller

This commit is contained in:
Doze-Zoze authored and Cameron Ewell committed 2026-07-07 21:05:24 -04:00
1 parent 5c18d427ba
commit 193a1e3593
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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
{
+2 -1
View File
@@ -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<string> keys = mhk.GetAssignedKeysOrEmpty();
List<string> keys = mhk.GetAssignedKeysOrEmpty(PlayerInput.CurrentInputMode);
if (keys.Count == 0)
return GetText("Misc.HotkeyNotBound").Value;
else