Skip to content

Commit 21f4fb2

Browse files
authored
Add exclamation point to example (#11183)
* add exclamation point to example
1 parent 170ac63 commit 21f4fb2

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)