fix IsMapValid behavior change by a2246af121
This commit is contained in:
parent
2c86e8099a
commit
8c534e770b
@ -1432,7 +1432,7 @@ bool CHalfLife2::IsMapValid(const char *map)
|
||||
if (!map || !map[0])
|
||||
return false;
|
||||
|
||||
return FindMap(map) != SMFindMapResult::NotFound;
|
||||
return FindMap(map) == SMFindMapResult::Found;
|
||||
}
|
||||
|
||||
#if SOURCE_ENGINE < SE_ORANGEBOX
|
||||
|
Loading…
Reference in New Issue
Block a user