comment out useless line

This commit is contained in:
yuni 2024-11-23 03:06:48 +01:00
parent 5b1ab8010e
commit 7224542523

View file

@ -804,7 +804,7 @@ pub fn handle_input(
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::PowerDown)); ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::PowerDown));
*settings = Settings::default(); *settings = Settings::default();
*prefs = Preferences::default(); *prefs = Preferences::default();
prefs.save(); // prefs.save(); // prefs are saved by the GameEvents already
ew_game.send(GameEvent::SetShadows(Turn::Unchanged)); ew_game.send(GameEvent::SetShadows(Turn::Unchanged));
ew_game.send(GameEvent::SetFullscreen(Turn::Unchanged)); ew_game.send(GameEvent::SetFullscreen(Turn::Unchanged));
ew_game.send(GameEvent::SetSound(game::Cycle::Unchanged)); ew_game.send(GameEvent::SetSound(game::Cycle::Unchanged));