fix trailing whitespace everywhere
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#region Copyright & License Information
|
||||
/*
|
||||
* Copyright 2007-2011 The OpenRA Developers (see AUTHORS)
|
||||
* This file is part of OpenRA, which is free software. It is made
|
||||
* This file is part of OpenRA, which is free software. It is made
|
||||
* available to you under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation. For more information,
|
||||
* see COPYING.
|
||||
@@ -30,12 +30,12 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
this.Info = Info;
|
||||
}
|
||||
|
||||
|
||||
public void WorldLoaded(World world)
|
||||
{
|
||||
// Remove all open widgets
|
||||
Widget.ResetAll();
|
||||
|
||||
|
||||
if (world.LocalPlayer != null)
|
||||
Game.OpenWindow(world, Info.Widget);
|
||||
else if (Info.ObserverWidget != null)
|
||||
@@ -64,7 +64,7 @@ namespace OpenRA.Mods.RA
|
||||
// Clear any existing widget state
|
||||
if (Info.ClearRootWidget)
|
||||
Widget.ResetAll();
|
||||
|
||||
|
||||
Game.LoadWidget(world, Info.Widget, Widget.RootWidget, new WidgetArgs());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user