Prevents Lore News Pop-up On Every Connect

This commit is contained in:
Cerebulon
2021-08-11 02:00:09 +01:00
parent beaa3051ff
commit 3e735591b6
5 changed files with 15 additions and 0 deletions
@@ -76,8 +76,13 @@
output += "</div>"
if (client.prefs.lastlorenews == GLOB.news_data.newsindex)
client.seen_news = 1
if(GLOB.news_data.station_newspaper && !client.seen_news)
show_latest_news(GLOB.news_data.station_newspaper)
client.prefs.lastnews = GLOB.news_data.newsindex
SScharacter_setup.queue_preferences_save(client.prefs)
panel = new(src, "Welcome","Welcome", 500, 480, src)
panel.set_window_options("can_close=0")