summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 37256f115..61819cf5d 100644
--- a/misc.c
+++ b/misc.c
@@ -82,7 +82,8 @@ void SetDate(uint date)
_cur_year = ymd.year;
_cur_month = ymd.month;
#ifdef ENABLE_NETWORK
- _network_last_advertise_date = 0;
+ _network_last_advertise_frame = 0;
+ _network_need_advertise = true;
#endif /* ENABLE_NETWORK */
}