Improve use of Ref.is_null/valid

Use `is_null` over `!is_valid` and vice versa.
This commit is contained in:
A Thousand Ships authored and AThousandShips committed 2024-12-23 16:35:02 -05:00
1 parent 0f95e9f8e6
commit a1846b27ea
177 files changed
+517 -519

No files matched your search

+1 -1
View File
@@ -331,7 +331,7 @@ void EditorDebuggerNode::_notification(int p_what) {
} break;
case NOTIFICATION_PROCESS: {
if (!server.is_valid()) {
if (server.is_null()) {
return;
}