Skip to content

Commit

Permalink
Default snow to true if key is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
jwkerr committed Jan 8, 2025
1 parent 83c9035 commit 0729040
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ public void set(String s, boolean b) {
public void load(String s) {

setAll(false);

// To update perm lines from before the snowfall toggle was added to make sure snow doesn't unexpectedly stop falling
snow = true;

String[] tokens = s.split(",");
for (String token : tokens)
set(token, true);
Expand Down

0 comments on commit 0729040

Please sign in to comment.