reduces a massive amount of endround lag (#23306)

* reduces a massive amount of endround lag

* more improvements
This commit is contained in:
GDN
2023-11-24 15:39:59 +00:00
committed by GitHub
parent 96d828dedc
commit 94fbb46dc4
10 changed files with 71 additions and 64 deletions
+2 -3
View File
@@ -72,7 +72,7 @@
/datum/game_mode/proc/auto_declare_completion_traitor()
if(length(traitors))
var/text = "<FONT size = 2><B>The traitors were:</B></FONT><br>"
var/list/text = list("<FONT size = 2><B>The traitors were:</B></FONT><br>")
for(var/datum/mind/traitor in traitors)
var/traitorwin = TRUE
text += printplayer(traitor)
@@ -159,5 +159,4 @@
text += "<br><br><b>The code phrases were:</b> <span class='danger'>[phrases]</span><br>\
<b>The code responses were:</b> <span class='danger'>[responses]</span><br><br>"
to_chat(world, text)
return TRUE
return text.Join("")