Skip to content

Commit c734502

Browse files
authored
Correct "ConnectionCheck" return type
It was marked as "void" when it should be "bool".
1 parent b66dc5a commit c734502

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
@@ -279,7 +279,7 @@ nodes that one might create at runtime.
279279
{
280280
private Node _parentCache;
281281

282-
public void ConnectionCheck()
282+
public bool ConnectionCheck()
283283
{
284284
return _parentCache.HasUserSignal("InteractedWith");
285285
}

0 commit comments

Comments
 (0)