[Core] Add LocalVector::has for convenience
This commit is contained in:
@@ -136,7 +136,7 @@ bool GodotNavigationServer3D::map_is_active(RID p_map) const {
|
||||
NavMap *map = map_owner.get_or_null(p_map);
|
||||
ERR_FAIL_NULL_V(map, false);
|
||||
|
||||
return active_maps.find(map) >= 0;
|
||||
return active_maps.has(map);
|
||||
}
|
||||
|
||||
COMMAND_2(map_set_up, RID, p_map, Vector3, p_up) {
|
||||
|
||||
Reference in New Issue
Block a user