diff options
| author | Ninni Pipping <over999ships@gmail.com> | 2023-06-23 10:26:33 +0200 |
|---|---|---|
| committer | Ninni Pipping <over999ships@gmail.com> | 2023-06-23 10:26:33 +0200 |
| commit | 982ca52e4cb8dd4b7b6aab9070999a3cfbcbd209 (patch) | |
| tree | 87448b938bff075e7890887ff97fbb15790681f2 /modules/multiplayer | |
| parent | 2d19cec17417f21408b16e0a9fe420ab500c32fc (diff) | |
| download | redot-engine-982ca52e4cb8dd4b7b6aab9070999a3cfbcbd209.tar.gz | |
Fix `MultiplayerSpawner` documentation
Diffstat (limited to 'modules/multiplayer')
| -rw-r--r-- | modules/multiplayer/doc_classes/MultiplayerSpawner.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/multiplayer/doc_classes/MultiplayerSpawner.xml b/modules/multiplayer/doc_classes/MultiplayerSpawner.xml index b2ac85ef30..e6564a8aac 100644 --- a/modules/multiplayer/doc_classes/MultiplayerSpawner.xml +++ b/modules/multiplayer/doc_classes/MultiplayerSpawner.xml @@ -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> |
