Skip to content

Commit 23c491e

Browse files
committed
Bug fix for https://bugs.launchpad.net/or/+bug/1990553 Typo in GenericItem2 command
1 parent eb99b75 commit 23c491e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/RollingStock/MSTSLocomotiveViewer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public override void InitializeUserInputCommands()
185185
UserInputCommands.Add(UserCommand.ControlCabRadio, new Action[] { Noop, () => new CabRadioCommand(Viewer.Log, !Locomotive.CabRadioOn) });
186186
UserInputCommands.Add(UserCommand.ControlDieselHelper, new Action[] { Noop, () => new ToggleHelpersEngineCommand(Viewer.Log) });
187187
UserInputCommands.Add(UserCommand.ControlGenericItem1, new Action[] { Noop, () => new ToggleGenericItem1Command(Viewer.Log) });
188-
UserInputCommands.Add(UserCommand.ControlGenericItem2, new Action[] { Noop, () => new ToggleGenericItem1Command(Viewer.Log) });
188+
UserInputCommands.Add(UserCommand.ControlGenericItem2, new Action[] { Noop, () => new ToggleGenericItem2Command(Viewer.Log) });
189189
UserInputCommands.Add(UserCommand.ControlTCSGeneric1, new Action[] {
190190
() => new TCSButtonCommand(Viewer.Log, false, 0),
191191
() => {

0 commit comments

Comments
 (0)