fix IsMapValid behavior change by a2246af121

This commit is contained in:
BotoX 2019-09-02 18:32:59 +02:00
parent 8749877c62
commit 4c4629fca7

View File

@ -1313,7 +1313,7 @@ bool CHalfLife2::IsMapValid(const char *map)
if (!map || !map[0])
return false;
return FindMap(map) != SMFindMapResult::NotFound;
return FindMap(map) == SMFindMapResult::Found;
}
// TODO: Add ep1 support for this. (No IServerTools available there)