Skip to content

Commit 0ce1133

Browse files
Update tutorials/best_practices/godot_notifications.rst
Co-authored-by: Hugo Locurcio <[email protected]>
1 parent e4b5639 commit 0ce1133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/best_practices/godot_notifications.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ values will set up according to the following sequence:
292292

293293
public:
294294
String get_test() { return test; }
295-
void set_test(String p_test) { return test = p_test + "!"; }
295+
void set_test(String p_test) { test = p_test + "!"; }
296296

297297
MyNode() {
298298
// Triggers the setter, changing _test's value from "one" to "two!".

0 commit comments

Comments
 (0)