Copy network authority when instancing placeholder nodes.

This commit is contained in:
Saracen 2023-10-05 12:35:50 +01:00
parent 0ca8542329
commit e1803e27d0

View File

@ -93,6 +93,7 @@ Node *InstancePlaceholder::create_instance(bool p_replace, const Ref<PackedScene
return nullptr;
}
scene->set_name(get_name());
scene->set_multiplayer_authority(get_multiplayer_authority());
int pos = get_index();
for (const PropSet &E : stored_values) {