From e4b5639bf874588a557ccf2174520d7399e46007 Mon Sep 17 00:00:00 2001 From: Nadav Date: Wed, 6 Aug 2025 13:42:36 +0200 Subject: [PATCH 1/2] add exclamation point to example --- tutorials/best_practices/godot_notifications.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/best_practices/godot_notifications.rst b/tutorials/best_practices/godot_notifications.rst index 4afb1f592b3..8d2c522939c 100644 --- a/tutorials/best_practices/godot_notifications.rst +++ b/tutorials/best_practices/godot_notifications.rst @@ -292,7 +292,7 @@ values will set up according to the following sequence: public: String get_test() { return test; } - void set_test(String p_test) { return test = p_test; } + void set_test(String p_test) { return test = p_test + "!"; } MyNode() { // Triggers the setter, changing _test's value from "one" to "two!". From 0ce1133ea22f67b0923d5efac9337d969d6bd3a4 Mon Sep 17 00:00:00 2001 From: Nadav Date: Wed, 6 Aug 2025 15:11:42 +0200 Subject: [PATCH 2/2] Update tutorials/best_practices/godot_notifications.rst Co-authored-by: Hugo Locurcio --- tutorials/best_practices/godot_notifications.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/best_practices/godot_notifications.rst b/tutorials/best_practices/godot_notifications.rst index 8d2c522939c..f1821d614ed 100644 --- a/tutorials/best_practices/godot_notifications.rst +++ b/tutorials/best_practices/godot_notifications.rst @@ -292,7 +292,7 @@ values will set up according to the following sequence: public: String get_test() { return test; } - void set_test(String p_test) { return test = p_test + "!"; } + void set_test(String p_test) { test = p_test + "!"; } MyNode() { // Triggers the setter, changing _test's value from "one" to "two!".