We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d94f12 commit 39c9be9Copy full SHA for 39c9be9
src/game.h
@@ -217,7 +217,9 @@ namespace Game {
217
}
218
219
220
- if (!level->level.isTitle()) {
+ // Only check for cStart if the inventory is not active.
221
+ // Otherwise if cStart was binded to item selection key in inventory it would reset the player.
222
+ if (!level->level.isTitle() && !inventory->isActive()) {
223
if (Input::lastState[0] == cStart) level->addPlayer(0);
224
if (Input::lastState[1] == cStart) level->addPlayer(1);
225
0 commit comments