Describe the bug
When using the map and other related commands, the auto-fill results for those commands only show maps that are in the root of <mod>/maps/, ignoring any maps stored in subdirectories (e.g. <mod>/maps/workshop/). This only applies for Linux as on Windows it isn't an issue.
Manually typing in the relative path to the map to launch it works just fine.
To Reproduce
- Put one BSP file in
<mod>/maps/ and another one in <mod>/maps/example_subdir/, both files with a filename of for example sp_a2_triple_laser.bsp.
- Launch P2:CE
- Open console and type in
map sp_a2_triple_laser
- See that in the auto-fill results, only
<mod>/maps/sp_a2_triple_laser.bsp was found and <mod>/maps/example_subdir/sp_a2_triple_laser.bsp doesn't even show up.
Issue Map
Not map-dependent.
Expected Behavior
The engine should search through all subdirectories in the maps folder and show all found map files in auto-fill results of the map commands.
Operating System
Ubuntu 26.04
Describe the bug
When using the
mapand other related commands, the auto-fill results for those commands only show maps that are in the root of<mod>/maps/, ignoring any maps stored in subdirectories (e.g.<mod>/maps/workshop/). This only applies for Linux as on Windows it isn't an issue.Manually typing in the relative path to the map to launch it works just fine.
To Reproduce
<mod>/maps/and another one in<mod>/maps/example_subdir/, both files with a filename of for examplesp_a2_triple_laser.bsp.map sp_a2_triple_laser<mod>/maps/sp_a2_triple_laser.bspwas found and<mod>/maps/example_subdir/sp_a2_triple_laser.bspdoesn't even show up.Issue Map
Not map-dependent.
Expected Behavior
The engine should search through all subdirectories in the
mapsfolder and show all found map files in auto-fill results of the map commands.Operating System
Ubuntu 26.04