Roundstart pings (#106)

This commit is contained in:
SandPoot
2020-11-21 16:17:17 -03:00
committed by GitHub
parent 8e0739a814
commit 01dc62502a
6 changed files with 14 additions and 5 deletions
+3 -1
View File
@@ -335,6 +335,8 @@ SUBSYSTEM_DEF(ticker)
var/list/adm = get_admin_counts()
var/list/allmins = adm["present"]
send2irc("Server", "Round [GLOB.round_id ? "#[GLOB.round_id]:" : "of"] [hide_mode ? "secret":"[mode.name]"] has started[allmins.len ? ".":" with no active admins online!"]")
if(CONFIG_GET(string/new_round_ping))
send2chat("<@[CONFIG_GET(string/new_round_ping)]> | A new round has started on [SSmapping.config.map_name]!", CONFIG_GET(string/chat_announce_new_game))
setup_done = TRUE
for(var/i in GLOB.start_landmarks_list)
@@ -399,7 +401,7 @@ SUBSYSTEM_DEF(ticker)
//skyrat change
if(ishuman(N.new_character))
SSlanguage.AssignLanguage(N.new_character, N.client)
//
//
N.client.prefs.post_copy_to(player)
CHECK_TICK
if(captainless)