Skip to content

Commit

Permalink
Unconditionally call calcRejection
Browse files Browse the repository at this point in the history
  • Loading branch information
malleoz committed Mar 4, 2025
1 parent 1cce1cd commit 774f874
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/game/kart/KartReject.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ void KartReject::calcRejectRoad() {

state()->setHop(false);

if (!state()->isNoSparkInvisibleWall() && !calcRejection()) {
bool didReject = calcRejection();

if (!state()->isNoSparkInvisibleWall() && !didReject) {
state()->setRejectRoadTrigger(false);
}

Expand Down

0 comments on commit 774f874

Please sign in to comment.