Skip to content

Commit

Permalink
fix: correct tas b/c typo
Browse files Browse the repository at this point in the history
to be fixed up into ec42832
  • Loading branch information
Krzyhau committed Sep 8, 2024
1 parent b508c2d commit 9edac75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/Tas/TasTools/StrafeTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ int AutoStrafeTool::GetTurningDirection(const TasPlayerInfo &pInfo, float desAng

// last turn is used to detect reaching line. avoid false detection from avoiding speedlock
bool shouldRecordLastTurnDirection = !speedLockAvoided;
FOR_TAS_SCRIPT_VERSIONS_SINCE(5) {
FOR_TAS_SCRIPT_VERSIONS_UNTIL(5) {
shouldRecordLastTurnDirection = true;
}
if (shouldRecordLastTurnDirection) this->lastTurnDir = turnDir;
Expand Down

0 comments on commit 9edac75

Please sign in to comment.