From 807734819ea33b56d1f241ad0c1b79169079371f Mon Sep 17 00:00:00 2001 From: Andrew Kim <54786632+smilevideo@users.noreply.github.com> Date: Sat, 25 Sep 2021 13:48:24 -0400 Subject: [PATCH] Fix void typed function code sample in GDScript basics (#5281) --- getting_started/scripting/gdscript/gdscript_basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting_started/scripting/gdscript/gdscript_basics.rst b/getting_started/scripting/gdscript/gdscript_basics.rst index 7890006e7..0549e2e43 100644 --- a/getting_started/scripting/gdscript/gdscript_basics.rst +++ b/getting_started/scripting/gdscript/gdscript_basics.rst @@ -755,7 +755,7 @@ return early with the ``return`` keyword, but they can't return any value. :: - void_function() -> void: + func void_function() -> void: return # Can't return a value .. note:: Non-void functions must **always** return a value, so if your code has