mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 14:46:52 +01:00
Prevents Lore News Pop-up On Every Connect
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user