Currently has a bug because FindFirstFileA returns -1 if game maps are disabled and the game looks no further for user maps even if they are desired to be in the game.
The reason for this bug is that FindFirstFileA hook should register what is currently being iterated over, but do the actual overwriting in the FindNextFileA hook, which the game code happily processes.
Currently has a bug because FindFirstFileA returns -1 if game maps are disabled and the game looks no further for user maps even if they are desired to be in the game.
The reason for this bug is that FindFirstFileA hook should register what is currently being iterated over, but do the actual overwriting in the FindNextFileA hook, which the game code happily processes.