Fix ralint

This commit is contained in:
Paul Chote
2010-08-25 20:04:33 +12:00
parent f635835b1c
commit 0cc440aa1f
2 changed files with 7 additions and 6 deletions

View File

@@ -18,12 +18,7 @@ using OpenRA.Widgets;
namespace OpenRA.Mods.RA
{
public class RALoadScreen : ILoadScreen
{
public RALoadScreen ()
{
}
{
static string[] loadComments = new[] { "Filling Crates...", "Charging Capacitors...", "Reticulating Splines...",
"Planting Trees...", "Building Bridges...", "Aging Empires...",
"Compiling EVA...", "Constructing Pylons...", "Activating Skynet...",
@@ -33,6 +28,9 @@ namespace OpenRA.Mods.RA
static Stopwatch lastLoadScreen = new Stopwatch();
public void Display()
{
if (Game.Renderer == null)
return;
// Update text at most every 0.5 seconds
if (lastLoadScreen.ElapsedTime() < 0.5)
return;