Skip to content

Commit

Permalink
Keep snow enabled when turning the easter egg off
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped committed Sep 18, 2024
1 parent 37a8731 commit 64fdfca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/latest/scripts/dialogs/SettingsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const SettingsDialog = memo(function({ settings, setSettings, timeout, se
name="seasonal-mode"
checked={settings.snowing != "no"}
onChange={(event) => setSettings((settings) => {
settings.snowing = event.target.checked ? "yes" : "no";
settings.snowing = event.target.checked ? "yes" : (settings.snowing == "always" ? "yes" : "no");
})}
label={<><i className="bi bi-snow"></i> Seasonal decorations</>}
/>
Expand Down

0 comments on commit 64fdfca

Please sign in to comment.