Dash Hotkey + Hotkey Tooltips now support controller

This commit is contained in:
Doze-Zoze committed 2026-07-01 12:49:25 -05:00
1 parent 4cafe9149a
commit cb14075d77
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -251,7 +251,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