FIXES THE IRC DISPLAYING CODE INSTEAD OF THE SURVIVAL RATE

This commit is contained in:
deathride58
2019-02-28 00:35:15 -05:00
parent 4d2e3723a9
commit a836b1e50f
+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]")