2
0
Эх сурвалжийг харах

Add exclamation point to example (#11183)

* add exclamation point to example
Nadav 2 долоо хоног өмнө
parent
commit
21f4fb2b64

+ 1 - 1
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!".