Skip to content

Commit

Permalink
Merge pull request #82846 from SaracenOne/network_authority_instance_…
Browse files Browse the repository at this point in the history
…placeholders

Copy network authority when instancing placeholders
  • Loading branch information
akien-mga committed Oct 16, 2023
2 parents e897a46 + e1803e2 commit 7c088f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/main/instance_placeholder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7c088f2

Please sign in to comment.