Skip to content

Commit 4b6e15d

Browse files
authored
Update style guide (godotengine#8038)
Used get instead of set.
1 parent bd502a0 commit 4b6e15d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/scripting/gdscript/gdscript_styleguide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Here is a complete class example based on these guidelines:
4343
set = set_is_active
4444

4545
@onready var _state = initial_state:
46-
get = set_state
46+
set = set_state
4747
@onready var _state_name = _state.name
4848

4949

0 commit comments

Comments
 (0)