Browse Source

Correct "ConnectionCheck" return type

It was marked as "void" when it should be "bool".
Anaclecio Brederodes 11 months ago
parent
commit
5b2a7951d1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/best_practices/godot_notifications.rst

+ 1 - 1
tutorials/best_practices/godot_notifications.rst

@@ -279,7 +279,7 @@ nodes that one might create at runtime.
     {
     {
         private Node _parentCache;
         private Node _parentCache;
 
 
-        public void ConnectionCheck()
+        public bool ConnectionCheck()
         {
         {
             return _parentCache.HasUserSignal("InteractedWith");
             return _parentCache.HasUserSignal("InteractedWith");
         }
         }