Skip to content

Commit

Permalink
Fix for missed clash on swings (#120)
Browse files Browse the repository at this point in the history
fixing Battle Mode clash when swings continue per discussion on TRA
  • Loading branch information
fdarosa2663 authored and profezzorn committed Nov 5, 2020
1 parent d00e312 commit a84eb3a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions props/saber_fett263_buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -645,11 +645,10 @@ SaberFett263Buttons() : PropBase() {}
if (!battle_mode_) return false;
clash_impact_millis_ = millis();
swing_blast_ = false;
if (!swinging_) {
SaberBase::SetLockup(SaberBase::LOCKUP_NORMAL);
auto_lockup_on_ = true;
SaberBase::DoBeginLockup();
}
if (swinging_) return false;
SaberBase::SetLockup(SaberBase::LOCKUP_NORMAL);
auto_lockup_on_ = true;
SaberBase::DoBeginLockup();
return true;

case EVENTID(BUTTON_NONE, EVENT_STAB, MODE_ON):
Expand Down

0 comments on commit a84eb3a

Please sign in to comment.