Merge pull request #8064 from deathride58/FIXESTHEFUCKINGSURVIVALRATE

Fixes the IRC not actually displaying the survival rate
This commit is contained in:
kevinz000
2019-03-01 02:21:48 -08:00
committed by GitHub
+1 -1
View File
@@ -192,7 +192,7 @@
//Set news report and mode result
mode.set_round_result()
var/survival_rate = GLOB.joined_player_list.len ? "PERCENT(popcount[POPCOUNT_SURVIVORS]/GLOB.joined_player_list.len)%" : "there's literally no player"
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]")