mirror of https://github.com/godotengine/godot
Copy network authority when instancing placeholder nodes.
This commit is contained in:
parent
0ca8542329
commit
e1803e27d0
|
|
@ -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