From 9800a48cf1fa43107cdbd399a412aa2614978e48 Mon Sep 17 00:00:00 2001 From: dwasint <82520990+dwasint@users.noreply.github.com> Date: Mon, 31 Jul 2023 17:40:06 -0400 Subject: [PATCH] Update preference_savefile.dm --- monkestation/code/modules/client/preference_savefile.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkestation/code/modules/client/preference_savefile.dm b/monkestation/code/modules/client/preference_savefile.dm index 785318e0ce15..e1cf252cdaf6 100644 --- a/monkestation/code/modules/client/preference_savefile.dm +++ b/monkestation/code/modules/client/preference_savefile.dm @@ -43,7 +43,8 @@ /datum/preferences/proc/save_preferences_monkestation() savefile.set_entry("channel_volume", channel_volume) savefile.set_entry("saved_tokens", saved_tokens) - savefile.set_entry("token_month", token_month) + if(token_month) + savefile.set_entry("token_month", token_month) /datum/preferences/proc/load_preferences_monkestation() channel_volume = savefile.get_entry("channel_volume", channel_volume)