Strip newlines from scrolling text. Frame-friendly update of scrolling text

This commit is contained in:
Caleb Anderson
2010-10-07 23:11:11 -05:00
committed by Chris Forbes
parent 92c30b89f8
commit ef4f478e10
2 changed files with 21 additions and 8 deletions

View File

@@ -62,12 +62,12 @@ namespace OpenRA.Server
{
try
{
motd.Text = GetData(new Uri(masterServerUrl + "motd.php?v=" + ClientVersion));
motd.SetText(GetData(new Uri(masterServerUrl + "motd.php?v=" + ClientVersion)));
motd.ResetScroll();
}
catch
{
motd.Text = "Welcome to OpenRA. MOTD unable to be loaded from server.";
motd.SetText("Welcome to OpenRA. MOTD unable to be loaded from server.");
motd.ResetScroll();
}
}