Răsfoiți Sursa

Fixed grammar in "Awaiting for signals" end note (#5586)

Co-authored-by: Hugo Locurcio <[email protected]>
Zshandi Krahn 3 ani în urmă
părinte
comite
66305cf83b
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  1. 3 2
      tutorials/scripting/gdscript/gdscript_basics.rst

+ 3 - 2
tutorials/scripting/gdscript/gdscript_basics.rst

@@ -1792,8 +1792,9 @@ This also means that returning a signal from a function that isn't a coroutine w
         await get_signal()
         print("Button was pressed")
 
-.. note:: Unlike ``yield`` in previous Godot versions, you cannot obtain the function state object. This in spirit of
-          type-safety, because a function cannot say that returns an ``int`` but actually give a function state object
+.. note:: Unlike ``yield`` in previous Godot versions, you cannot obtain the function state object.
+          This is done to ensure type safety.
+          With this type safety in place, a function cannot say that it returns an ``int`` while it actually returns a function state object
           during runtime.
 
 .. _doc_gdscript_onready_annotation: