Skip to content

Commit 384e194

Browse files
committed
Fix first RD blue button not working
1 parent 406f329 commit 384e194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/RunActivity/Viewer3D/UserInputRailDriver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public RailDriverState(Game game)
120120
for (int i=0; i<settings.UserCommands.Length; i++)
121121
{
122122
byte command = settings.UserCommands[i];
123-
if (command != 0 && command != byte.MaxValue) Commands.Add((UserCommand)i, new RailDriverButton(command));
123+
if (command >= 0 && command != byte.MaxValue) Commands.Add((UserCommand)i, new RailDriverButton(command));
124124
}
125125
}
126126
}

0 commit comments

Comments
 (0)