summaryrefslogtreecommitdiffstats
path: root/doc/classes/PhysicsServer2D.xml
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-04-26 21:36:04 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-26 21:36:04 +0200
commit391eccca76ace6863e20b6a579ed1550ed33dedb (patch)
tree6ce45b4b00b105331518ba6d29fc8498631091a1 /doc/classes/PhysicsServer2D.xml
parente2e870c6118f6e9463c8907c947102f913f543de (diff)
downloadredot-engine-391eccca76ace6863e20b6a579ed1550ed33dedb.tar.gz
Validate code tags in documentation for potential params
Adds a check to make_rst to look for matches between the text inside of the [code][/code] tag and known param identifiers. Fixes most of what was revealed.
Diffstat (limited to 'doc/classes/PhysicsServer2D.xml')
-rw-r--r--doc/classes/PhysicsServer2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml
index 010a73a8e5..4ed65e7bfb 100644
--- a/doc/classes/PhysicsServer2D.xml
+++ b/doc/classes/PhysicsServer2D.xml
@@ -595,7 +595,7 @@
Sets the function used to calculate physics for the body, if that body allows it (see [method body_set_omit_force_integration]).
The force integration function takes the following two parameters:
1. a [PhysicsDirectBodyState2D] [code]state[/code]: used to retrieve and modify the body's state,
- 2. a [Variant] [code]userdata[/code]: optional user data.
+ 2. a [Variant] [param userdata]: optional user data.
[b]Note:[/b] This callback is currently not called in Godot Physics.
</description>
</method>