[Core] Add LocalVector::has for convenience

This commit is contained in:
A Thousand Ships
2024-05-06 16:43:04 +02:00
parent d8aa2c65a9
commit 86de59d60a
12 changed files with 27 additions and 14 deletions
@@ -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) {