From f73ef635956927dac0d9aaea31f7b8c6f98ab1ca Mon Sep 17 00:00:00 2001 From: OctoD Date: Sat, 20 Jan 2024 12:13:50 +0100 Subject: [PATCH] fix: corrects nullptr check --- src/system/tag/tag_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/tag/tag_manager.cpp b/src/system/tag/tag_manager.cpp index c591b04..31e31e1 100644 --- a/src/system/tag/tag_manager.cpp +++ b/src/system/tag/tag_manager.cpp @@ -46,7 +46,7 @@ void TagManager::_bind_methods() void TagManager::_bind_dictionary_signals(TagDictionary *p_tag_dictionary) { - if (p_tag_dictionary == nullptr) + if (p_tag_dictionary != nullptr) { /// let's bind all signals p_tag_dictionary->connect("tag_added", Callable(this, "_handle_dictionary_tag_added"));