__has_include matches files in unpacked mods even if the mod is not loaded.
- Operating System
- Windows 10 x64
- Unpack a mod and place it in the Arma 3 root directory.
- Create a dummy mod that checks for a file inside the unpacked mod with __has_include.
- Start game with file patching enabled, but only load the dummy mod.
- Notice that __has_include was true for the dummy mod.
That fix actually is the root of this issue. Yes, __has_include matches unpacked mods now when file patching is enabled. Problem is that it does so regardless whether the mod is actually loaded or not.
I'm sorry for the confusion I created. We were trying to get rid of ACE optionals for ZEN by using __has_include, but still have issues with file patching.
At this point it's more likely an issue on our end, since I take your word that it was fixed. Hence, consider it as resolved.