Skip to content

Commit

Permalink
refactor: fix access level
Browse files Browse the repository at this point in the history
  • Loading branch information
Clazex committed Apr 8, 2022
1 parent b952970 commit 5683ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GodSeekerPlus/Modules/BossChallenge/SegmentedP5.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ string playerData
}

private bool SkipNotSelectedScenes(On.BossSequence.orig_CanLoad orig, BossSequence self, int index) {
(int start, int end) = segments[GodSeekerPlus.LocalSettings.selectedP5Segment];
(int start, int end) = segments[GodSeekerPlus.LocalSettings.SelectedP5Segment];
return (!running || (index >= start && index <= end)) && orig(self, index);
}

Expand Down
2 changes: 1 addition & 1 deletion GodSeekerPlus/Settings/LocalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public int RABCompletion {
}

[JsonIgnore]
public int selectedP5Segment = 0;
private int selectedP5Segment = 0;

[JsonProperty(PropertyName = "selectedP5Segment")]
public int SelectedP5Segment {
Expand Down

0 comments on commit 5683ffc

Please sign in to comment.