Skip to content

Commit

Permalink
Remove unnecessary setting of PlayerPrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kroporo committed Mar 9, 2023
1 parent aa9eaf1 commit f90fb1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions UnityProject/Assets/Scripts/optionsmenuscript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ public void Start() {
RestoreDefaults();
}

if(!PlayerPrefs.HasKey("show_ad")) {
PlayerPrefs.SetInt("show_ad", 1);
}

Preferences.UpdatePreferences();
UpdateUIValuesAndApplyDefaults();
ImGuiUnity.instance.enableInput = false;
Expand Down

0 comments on commit f90fb1d

Please sign in to comment.