summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-24 13:24:47 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-24 13:24:47 +0100
commitf6f8a48459f9bbe97ee76a7186b9ae37e71e724b (patch)
treed000f648004943031e9d55c4ed6a232405fbebb3
parent4abefc0ede4af0e33802596eb2c0112ae9a81334 (diff)
parentc868c9fc41884b1ec3e61a6644a33321a5c860f9 (diff)
Merge pull request #69107 from Mickeon/oops
Fix warning in Signal Documentation
-rw-r--r--doc/classes/Signal.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Signal.xml b/doc/classes/Signal.xml
index ce2d443ba7..3412cd2140 100644
--- a/doc/classes/Signal.xml
+++ b/doc/classes/Signal.xml
@@ -6,7 +6,7 @@
<description>
[Signal] is a built-in [Variant] type that represents a signal of an [Object] instance. Like all [Variant] types, it can be stored in variables and passed to functions. Signals allow all connected [Callable]s (and by extension their respective objects) to listen and react to events, without directly referencing one another. This keeps the code flexible and easier to manage.
In GDScript, signals can be declared with the [code]signal[/code] keyword. In C#, you may use the [code][Signal][/code] attribute on a delegate.
- [codeblock]
+ [codeblocks]
[gdscript]
signal attacked
@@ -23,7 +23,7 @@
[Signal]
delegate void ItemDropped(itemName: string, amount: int);
[/csharp]
- [/codeblock]
+ [/codeblocks]
</description>
<tutorials>
<link title="Using Signals">$DOCS_URL/getting_started/step_by_step/signals.html</link>