From eb3f4ef21d674af87d7715836634d3b1f5fb4483 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 30 Apr 2011 14:31:02 +1200 Subject: [PATCH] remove random Application.DoEvents() from Game.cs --- OpenRA.Game/Game.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 80f61b79c8..f897b45a4f 100755 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -14,7 +14,6 @@ using System.Drawing; using System.IO; using System.Linq; using System.Net; -using System.Windows.Forms; using OpenRA.FileFormats; using OpenRA.GameRules; using OpenRA.Graphics; @@ -308,10 +307,8 @@ namespace OpenRA internal static void Run() { while (!quit) - { Tick( orderManager, viewport ); - Application.DoEvents(); - } + OnQuit(); }