remove misleading dead assignments on saving, before using vars as out params

This commit is contained in:
Chris Forbes
2011-09-24 20:32:57 +12:00
parent a1fc76acc3
commit 657e8ad250
2 changed files with 2 additions and 2 deletions

View File

@@ -112,7 +112,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
bg.GetWidget<ButtonWidget>("BUTTON_CLOSE").OnClick = () =>
{
int x = gs.WindowedSize.X, y = gs.WindowedSize.Y;
int x, y;
int.TryParse(windowWidth.Text, out x);
int.TryParse(windowHeight.Text, out y);
gs.WindowedSize = new int2(x,y);