Skip to content

Commit

Permalink
Fix Modifiers not applying correctly between runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kroporo committed Mar 10, 2023
1 parent 50b5bcb commit d429778
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion UnityProject/Assets/Objects/Canvas Pause Menu.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -8547,7 +8547,8 @@ MonoBehaviour:
menu: {fileID: 2866556412434144599}
menuOptions: {fileID: 2866556412847085606}
optionsContent: {fileID: 2866556413160670212}
modifiersContent: {fileID: 7634319890002512160}
menuModifiers: {fileID: 7634319890002512160}
modifiersContent: {fileID: 5362866899108684666}
adContent: {fileID: 5198335201860244452}
uiCamera: {fileID: 5228456363570771587}
--- !u!1 &2866556412327301819
Expand Down
3 changes: 2 additions & 1 deletion UnityProject/Assets/Scripts/optionsmenuscript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class optionsmenuscript : MonoBehaviour {
public GameObject menu;
public GameObject menuOptions;
public GameObject optionsContent;
public GameObject menuModifiers;
public GameObject modifiersContent;
public GameObject adContent;

Expand Down Expand Up @@ -235,7 +236,7 @@ public void ToggleOptions() {
}

public void ToggleModifierWindow() {
modifiersContent.SetActive(!modifiersContent.activeSelf);
menuModifiers.SetActive(!menuModifiers.activeSelf);
}

public void ExitGame() {
Expand Down

0 comments on commit d429778

Please sign in to comment.