From 4a3a258a20c3505e8e4ce2169000b7631ef06ff7 Mon Sep 17 00:00:00 2001 From: Medo Date: Mon, 16 May 2016 13:32:29 +0200 Subject: [PATCH] Fix autobalance notice not using sanitiseNewlines Ref: Gang-Garrison-2/Gang-Garrison-2#171 --- Source/gg2/Objects/InGameElements/Balancer.events/Draw.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/gg2/Objects/InGameElements/Balancer.events/Draw.xml b/Source/gg2/Objects/InGameElements/Balancer.events/Draw.xml index fd028dbb4..97a77dee1 100644 --- a/Source/gg2/Objects/InGameElements/Balancer.events/Draw.xml +++ b/Source/gg2/Objects/InGameElements/Balancer.events/Draw.xml @@ -32,7 +32,7 @@ draw_set_halign(fa_left); if notice == 0 draw_text_ext_color(xoffset+50, (yoffset+ysize)-100,"Teams are imbalanced and will be auto-balanced shortly.",-1,-1,c_white,c_white,c_white,c_white,alpha); - if notice == 1 draw_text_ext_color(xoffset+50, (yoffset+ysize)-100,name+" has been team switched for balance",-1,-1,c_white,c_white,c_white,c_white,alpha); + if notice == 1 draw_text_ext_color(xoffset+50, (yoffset+ysize)-100,sanitiseNewlines(name)+" has been team switched for balance",-1,-1,c_white,c_white,c_white,c_white,alpha); }