Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 25, 2024
1 parent d4ac820 commit 7fc2658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class recordSystem {
realp1 = (GameManager::get()->getGameVariable("0010") && (!plat || button == 1)) ? !player1 : player1;
if (macro.size() >= 2 && plat) {
if (button == 1) {
if (macro.back().button == 1 && macro.back().holding == macro[macro.size()-2].holding &&
if (macro.back().holding == macro[macro.size()-2].holding &&
macro.back().frame == macro[macro.size()-2].frame && macro[macro.size()-2].button != 1)
macro.pop_back();
}
Expand Down

0 comments on commit 7fc2658

Please sign in to comment.