spacing nit

This commit is contained in:
Chris Forbes
2011-04-12 08:47:55 +12:00
parent 61db3b3965
commit e4d2839254

View File

@@ -23,6 +23,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
int validPlayers = 0;
readonly World world;
[ObjectCreator.UseCtor]
public DiplomacyDelegate( [ObjectCreator.Param] World world )
{
@@ -30,6 +31,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
var root = Widget.RootWidget.GetWidget("INGAME_ROOT");
var diplomacyBG = root.GetWidget("DIPLOMACY_BG");
var diplomacy = root.GetWidget("INGAME_DIPLOMACY_BUTTON");
diplomacy.OnMouseUp = mi =>
{
diplomacyBG.Visible = !diplomacyBG.Visible;