fixed #992: removed spurious double-semicolons

This commit is contained in:
Chris Forbes
2011-07-08 19:30:26 +12:00
committed by Paul Chote
parent d95b579ead
commit d5ee3655f3
2 changed files with 2 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.FileFormats
if (!syms.ContainsKey(t)) if (!syms.ContainsKey(t))
throw new InvalidOperationException("Substitution `{0}` undefined".F(t)); throw new InvalidOperationException("Substitution `{0}` undefined".F(t));
yield return syms[t].ToString();; yield return syms[t].ToString();
} }
else else
{ {

View File

@@ -496,7 +496,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic
{ {
var spec = NewSpectatorTemplate.Clone(); var spec = NewSpectatorTemplate.Clone();
var btn = spec.GetWidget<ButtonWidget>("SPECTATE"); var btn = spec.GetWidget<ButtonWidget>("SPECTATE");
btn.OnMouseUp = _ => orderManager.IssueOrder(Order.Command("spectate"));; btn.OnMouseUp = _ => orderManager.IssueOrder(Order.Command("spectate"));
spec.IsVisible = () => true; spec.IsVisible = () => true;
Players.AddChild(spec); Players.AddChild(spec);
} }