Skip to content

Commit

Permalink
feat: disable challenges with early return
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Aug 31, 2023
1 parent fb09a35 commit 7a2ae3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MHFZ_Overlay/ViewModels/Windows/BingoWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ private void CartsBuy()
[RelayCommand(CanExecute = nameof(IsBingoNotRunning))]
private void SetPoints()
{
PlayerBingoPoints = BingoServiceInstance.SetPlayerBingoPoints(99_999);
// PlayerBingoPoints = BingoServiceInstance.SetPlayerBingoPoints(99_999);
}

public bool IsBingoNotRunning()
Expand Down
2 changes: 2 additions & 0 deletions MHFZ_Overlay/Views/Windows/ConfigWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4271,6 +4271,8 @@ private void CheckForChallengeRequirementsForStart(Challenge challenge)

private void StartChallenge(Challenge? challenge)
{
return; // TODO uncomment when in dev for now.

if (challenge == null || this.challengesListBox == null)
{
Logger.Warn(CultureInfo.InvariantCulture, "Challenge not found, canceling start process");
Expand Down

0 comments on commit 7a2ae3f

Please sign in to comment.