Merge pull request #82846 from SaracenOne/network_authority_instance_placeholders

Copy network authority when instancing placeholders
This commit is contained in:
Rémi Verschelde 2023-10-16 10:38:34 +02:00
commit 7c088f246e
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 0 deletions

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) {