Skip to content

Commit

Permalink
fix: saving twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Clazex committed May 5, 2022
1 parent 62606ad commit dda53d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GodSeekerPlus/Modules/BossChallenge/SegmentedP5.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ internal static readonly (int start, int end)[] segments = new[] {
private Text? selectBtnText;

private static string CurrentSegmentName =>
$"SegmentedP5/Segment/{GodSeekerPlus.LocalSettings.SelectedP5Segment}".Localize();
$"SegmentedP5/Segment/{Setting.Local.SelectedP5Segment}".Localize();


private protected override void Load() {
Expand Down Expand Up @@ -89,6 +89,8 @@ private void SetupDoor() {
BossSequenceDoor door = segP5.GetComponent<BossSequenceDoor>();
door.playerDataString = dummySeqPD;
door.dreamReturnGate.name = "door_dreamReturnGG_" + segP5.name;
door.dreamReturnGate.LocateMyFSM("Boss Sequence Finish")
.RemoveTransition("Reset", FsmEvent.Finished.Name);

sequence ??= door.bossSequence;

Expand Down

0 comments on commit dda53d9

Please sign in to comment.