Mac: Fix keyboard preferences for players 2-8

This commit is contained in:
Michael Buckley 2020-01-15 19:40:22 -08:00
parent b11657cd0f
commit 404c01019f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@
for (NSUInteger i = 0; i < kNumButtons; ++i)
{
controlsDict[@(i)] = keyboardDict[@(i + playerNum).stringValue];
controlsDict[@(i)] = keyboardDict[@(i + (playerNum * kNumButtons)).stringValue];
}
for (NSView *subview in self.view.subviews)