Skip to content

Commit 11572e6

Browse files
committed
Prevent the auto mash cheat from running if currently changing button combos
1 parent 624c0d7 commit 11572e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ttyd-tools/rel/source/codes.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,13 @@ uint32_t autoMashText(uint32_t controllerPort)
626626
return ttyd::system::keyGetButtonTrg(controllerPort);
627627
}
628628

629+
// Don't auto mash if currently changing button combos
630+
if (MenuVar.ChangingCheatButtonCombo)
631+
{
632+
// Return the intended value
633+
return ttyd::system::keyGetButtonTrg(controllerPort);
634+
}
635+
629636
if (!checkButtonComboEveryFrame(Cheat[AUTO_MASH_TEXT].ButtonCombo))
630637
{
631638
// Return the intended value

0 commit comments

Comments
 (0)