mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 14:12:51 +00:00
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;
|
||||
}
|
||||
scene->set_name(get_name());
|
||||
scene->set_multiplayer_authority(get_multiplayer_authority());
|
||||
int pos = get_index();
|
||||
|
||||
for (const PropSet &E : stored_values) {
|
||||
|
Loading…
Reference in New Issue
Block a user