Merge pull request #62025 from smix8/navigation_cb_invalid_obj_4.x

This commit is contained in:
Rémi Verschelde 2022-06-14 15:25:11 +02:00 committed by GitHub
commit becfe93092
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,8 +65,9 @@ void RvoAgent::dispatch_callback() {
return;
}
Object *obj = ObjectDB::get_instance(callback.id);
if (obj == nullptr) {
if (!obj) {
callback.id = ObjectID();
return;
}
Callable::CallError responseCallError;