Skip to content

Commit

Permalink
Fix MultiplayerSpawner documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AThousandShips committed Jun 23, 2023
1 parent 2d19cec commit 982ca52
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 982ca52

Please sign in to comment.