Remove some unnecessary fields from chrome
This commit is contained in:
@@ -412,7 +412,7 @@ namespace OpenRA
|
||||
{
|
||||
LoadMap(LobbyInfo.GlobalSettings.Map);
|
||||
if (orderManager.GameStarted) return;
|
||||
Chrome.selectedWidget = null;
|
||||
Widget.SelectedWidget = null;
|
||||
|
||||
world.Queries = new World.AllQueries(world);
|
||||
|
||||
@@ -624,12 +624,13 @@ namespace OpenRA
|
||||
}
|
||||
}
|
||||
|
||||
public static void Exit() { quit = true; }
|
||||
public static void Exit() { quit = true; }
|
||||
|
||||
public static Action<Color,string,string> AddChatLine = (c,n,s) => {};
|
||||
|
||||
public static void Debug(string s)
|
||||
{
|
||||
if (Chrome.chatWidget != null)
|
||||
Chrome.chatWidget.AddLine(Color.White, "Debug", s);
|
||||
AddChatLine(Color.White, "Debug", s);
|
||||
}
|
||||
|
||||
public static void Disconnect()
|
||||
|
||||
Reference in New Issue
Block a user