Load maps configs always with lowercase #15
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sometimes map configs do not load if the case does not match.
For example, on the l4d2 game server, the campaign "c12" can be loaded either with a capital letter or with a small letter, i.e C12m1_hilltop and sometimes c12m1_hilltop. This applies to the rest of the campaign maps. After changing levels, a capital letter can go lowercase. And it absolutely does not depend on plugins, etc., just for some reason the server loads it like that, although the map bsp file is also written with a small letter. As a result, on a Linux system, you have to create two identical configuration files for one map with the same contents, which is not good. I met such a problem in other games, specifically in cs go.