Skip to content

Commit 0863d63

Browse files
authored
Merge pull request #11964 from clankill3r/patch-2
fix @ICON example in "Making plugins"
2 parents d2a2eae + bc7f01e commit 0863d63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/plugins/editor/making_plugins.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ That's it for our basic button. You can save this as ``my_button.gd`` inside the
210210
plugin folder. You may have a 16×16 icon to show in the scene tree. If you
211211
don't have one, you can grab the default one from the engine and save it in your
212212
`addons/my_custom_node` folder as `icon.svg`, or use the default Godot logo
213-
(`preload("res://icon.svg")`).
213+
(`@icon("res://icon.svg")`).
214214

215215
.. tip::
216216

0 commit comments

Comments
 (0)