Skip to content

Commit

Permalink
Merge pull request #78601 from AThousandShips/doc_callable_fix
Browse files Browse the repository at this point in the history
Fix `MultiplayerSpawner` documentation
  • Loading branch information
akien-mga authored Jun 23, 2023
2 parents 2d19cec + 982ca52 commit fd31dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/multiplayer/doc_classes/MultiplayerSpawner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</method>
</methods>
<members>
<member name="spawn_function" type="Callable" setter="set_spawn_function" getter="get_spawn_function" default="Callable()">
<member name="spawn_function" type="Callable" setter="set_spawn_function" getter="get_spawn_function">
Method called on all peers when for every custom [method spawn] requested by the authority. Will receive the [code]data[/code] parameter, and should return a [Node] that is not in the scene tree.
[b]Note:[/b] The returned node should [b]not[/b] be added to the scene with [method Node.add_child]. This is done automatically.
</member>
Expand Down

0 comments on commit fd31dc7

Please sign in to comment.