fix IsMapValid behavior change by a2246af121
This commit is contained in:
parent
8749877c62
commit
4c4629fca7
@ -1313,7 +1313,7 @@ bool CHalfLife2::IsMapValid(const char *map)
|
|||||||
if (!map || !map[0])
|
if (!map || !map[0])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return FindMap(map) != SMFindMapResult::NotFound;
|
return FindMap(map) == SMFindMapResult::Found;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Add ep1 support for this. (No IServerTools available there)
|
// TODO: Add ep1 support for this. (No IServerTools available there)
|
||||||
|
Loading…
Reference in New Issue
Block a user