You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #78449 from Scony/add-agent-n-map-navserver-tests
Add `agent` and `map` tests for 'NavigationServer3D'
This commit is contained in:
@@ -997,8 +997,10 @@ COMMAND_1(free, RID, p_object) {
|
||||
}
|
||||
|
||||
int map_index = active_maps.find(map);
|
||||
active_maps.remove_at(map_index);
|
||||
active_maps_update_id.remove_at(map_index);
|
||||
if (map_index >= 0) {
|
||||
active_maps.remove_at(map_index);
|
||||
active_maps_update_id.remove_at(map_index);
|
||||
}
|
||||
map_owner.free(p_object);
|
||||
|
||||
} else if (region_owner.owns(p_object)) {
|
||||
|
||||
Reference in New Issue
Block a user