File tree Expand file tree Collapse file tree
src/main/java/wagemaker/uk/player Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1377,15 +1377,15 @@ private void handleInventoryNavigation() {
13771377 if (currentSelection == -1 ) {
13781378 newSelection = 0 ; // Start at first slot
13791379 } else {
1380- newSelection = (currentSelection + 1 ) % 10 ; // Wrap to 0 after slot 9
1380+ newSelection = (currentSelection + 1 ) % 14 ; // Wrap to 0 after slot 13
13811381 }
13821382 }
13831383 // LEFT arrow: move to previous slot (wrap around)
13841384 else if (Gdx .input .isKeyJustPressed (Input .Keys .LEFT )) {
13851385 if (currentSelection == -1 ) {
1386- newSelection = 9 ; // Start at last slot
1386+ newSelection = 13 ; // Start at last slot
13871387 } else {
1388- newSelection = (currentSelection - 1 + 10 ) % 10 ; // Wrap to 9 from slot 0
1388+ newSelection = (currentSelection - 1 + 14 ) % 14 ; // Wrap to 13 from slot 0
13891389 }
13901390 }
13911391 // UP/DOWN: Reserved for future multi-row layout
You can’t perform that action at this time.
0 commit comments