Merge pull request #82846 from SaracenOne/network_authority_instance_placeholders
Copy network authority when instancing placeholders
This commit is contained in:
commit
7c088f246e
|
@ -93,6 +93,7 @@ Node *InstancePlaceholder::create_instance(bool p_replace, const Ref<PackedScene
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
scene->set_name(get_name());
|
scene->set_name(get_name());
|
||||||
|
scene->set_multiplayer_authority(get_multiplayer_authority());
|
||||||
int pos = get_index();
|
int pos = get_index();
|
||||||
|
|
||||||
for (const PropSet &E : stored_values) {
|
for (const PropSet &E : stored_values) {
|
||||||
|
|
Loading…
Reference in New Issue