Clarify comment

This commit is contained in:
Gunter Labes 2023-06-16 16:07:32 +02:00 committed by GitHub
parent 41fc7de3a1
commit e1d84253dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -225,8 +225,7 @@ std::string read_map(const std::string& name)
std::string res;
std::string map_location = get_wml_location(name);
if(map_location.empty()) {
// If this is an add-on or campaign that's set the [binary_path] for its image directory,
// automatically check for a sibling maps directory.
// Consult [binary_path] for maps as well.
map_location = get_binary_file_location("maps", name);
}
if(!map_location.empty()) {