Skip to content

Commit

Permalink
fix ESC close bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Oct 7, 2022
1 parent 7d5edd3 commit 5aedd74
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions build/r6/scripts/mod_settings/ModSettingsMainGameController.reds
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ public class ModStngsMainGameController extends gameuiSettingsMenuGameController
// this.m_settings.RejectLoadLastCheckpointChanges();
// } else {
// this.m_resetSettingsRequest = false;
// if this.m_closeSettingsRequest {
// this.m_closeSettingsRequest = false;
// this.RequestClose();
// };
if this.m_closeSettingsRequest {
this.m_closeSettingsRequest = false;
this.RequestClose();
};
// };
// };
// };
Expand All @@ -374,10 +374,10 @@ public class ModStngsMainGameController extends gameuiSettingsMenuGameController
// this.m_settings.RequestLoadLastCheckpointDialog();
// } else {
// this.GetSystemRequestsHandler().RequestSaveUserSettings();
// if this.m_closeSettingsRequest {
// this.m_closeSettingsRequest = false;
// this.RequestClose();
// };
if this.m_closeSettingsRequest {
this.m_closeSettingsRequest = false;
this.RequestClose();
};
// };
// };
// };
Expand Down
16 changes: 8 additions & 8 deletions src/redscript/mod_settings/ModSettingsMainGameController.reds
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,10 @@ public class ModStngsMainGameController extends gameuiSettingsMenuGameController
// this.m_settings.RejectLoadLastCheckpointChanges();
// } else {
// this.m_resetSettingsRequest = false;
// if this.m_closeSettingsRequest {
// this.m_closeSettingsRequest = false;
// this.RequestClose();
// };
if this.m_closeSettingsRequest {
this.m_closeSettingsRequest = false;
this.RequestClose();
};
// };
// };
// };
Expand All @@ -374,10 +374,10 @@ public class ModStngsMainGameController extends gameuiSettingsMenuGameController
// this.m_settings.RequestLoadLastCheckpointDialog();
// } else {
// this.GetSystemRequestsHandler().RequestSaveUserSettings();
// if this.m_closeSettingsRequest {
// this.m_closeSettingsRequest = false;
// this.RequestClose();
// };
if this.m_closeSettingsRequest {
this.m_closeSettingsRequest = false;
this.RequestClose();
};
// };
// };
// };
Expand Down

0 comments on commit 5aedd74

Please sign in to comment.