summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index a47b43a44..8ce6e8ce0 100644
--- a/misc.c
+++ b/misc.c
@@ -99,6 +99,9 @@ void SetDate(uint date)
ConvertDayToYMD(&ymd, _date = date);
_cur_year = ymd.year;
_cur_month = ymd.month;
+#ifdef ENABLE_NETWORK
+ _network_last_advertise_date = 0;
+#endif /* ENABLE_NETWORK */
}