Skip to content

Commit

Permalink
fix: corrects nullptr check
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoD committed Jan 20, 2024
1 parent f2156e5 commit f73ef63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/tag/tag_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit f73ef63

Please sign in to comment.