Merge pull request #8038 from deathride58/verboseirclogs

Makes the roundend notification in IRC a little more verbose
This commit is contained in:
kevinz000
2019-02-27 16:19:13 -08:00
committed by GitHub
+4 -2
View File
@@ -192,7 +192,9 @@
//Set news report and mode result
mode.set_round_result()
send2irc("Server", "Round just ended.")
var/survival_rate = GLOB.joined_player_list.len ? "PERCENT(popcount[POPCOUNT_SURVIVORS]/GLOB.joined_player_list.len)%" : "there's literally no player"
send2irc("Server", "A round of [mode.name] just ended[mode_result == "undefined" ? "." : " with a [mode_result]."] Survival rate: [survival_rate]")
if(length(CONFIG_GET(keyed_list/cross_server)))
send_news_report()
@@ -583,4 +585,4 @@
qdel(query_update_everything_ranks)
return
qdel(query_update_everything_ranks)
qdel(query_check_everything_ranks)
qdel(query_check_everything_ranks)