Fix control groups

This commit is contained in:
Paul Chote
2011-07-06 06:15:04 +12:00
parent 3d9a8cc002
commit 574133429a

View File

@@ -166,7 +166,7 @@ namespace OpenRA.Mods.Cnc.Widgets
case "left": Keyboard = Keyboard.Set(ScrollDirection.Left, (e.Event == KeyInputEvent.Down)); return true; case "left": Keyboard = Keyboard.Set(ScrollDirection.Left, (e.Event == KeyInputEvent.Down)); return true;
case "right": Keyboard = Keyboard.Set(ScrollDirection.Right, (e.Event == KeyInputEvent.Down)); return true; case "right": Keyboard = Keyboard.Set(ScrollDirection.Right, (e.Event == KeyInputEvent.Down)); return true;
} }
return false; return base.HandleKeyPress(e);
} }
public override void Tick() public override void Tick()