Skip to content

Commit 0e01bb0

Browse files
Merge pull request TeamOpenFIRE#1 from alessandro-satanassi/alessandro-satanassi-patch-1
Update OpenFIREmain.ino
2 parents 4e3ecbe + 5f6793b commit 0e01bb0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

OpenFIREmain/OpenFIREmain.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,6 @@ void ExecRunMode()
761761
if(t - pauseHoldStartstamp > OF_Prefs::settings[OF_Const::holdToPauseLength]) {
762762
// MAKE SURE EVERYTHING IS DISENGAGED:
763763
OF_FFB::FFBShutdown();
764-
FW_Common::offscreenBShot = false;
765764
FW_Common::SetMode(FW_Const::GunMode_Pause);
766765
FW_Common::buttons.ReleaseAll();
767766
FW_Common::buttons.ReportDisable();
@@ -772,8 +771,7 @@ void ExecRunMode()
772771
if(FW_Common::buttons.pressedReleased == FW_Const::EnterPauseModeBtnMask || FW_Common::buttons.pressedReleased == FW_Const::BtnMask_Home) {
773772
// MAKE SURE EVERYTHING IS DISENGAGED:
774773
OF_FFB::FFBShutdown();
775-
FW_Common::offscreenBShot = false;
776-
FW_Common::SetMode(FW_Const::GunMode_Pause);
774+
FW_Common::SetMode(FW_Const::GunMode_Pause);
777775
FW_Common::buttons.ReleaseAll();
778776
FW_Common::buttons.ReportDisable();
779777
return;

0 commit comments

Comments
 (0)