Skip to content

Commit

Permalink
Amend logic error in BlackboardPlan variable listing (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpalais authored Jan 3, 2025
1 parent b144ebc commit e326210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blackboard/blackboard_plan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void BlackboardPlan::_get_property_list(List<PropertyInfo> *p_list) const {

#ifdef TOOLS_ENABLED
// * Editor
if (!_is_var_nil(var) || !_is_var_private(var_name, var)) {
if (!_is_var_nil(var) && !_is_var_private(var_name, var)) {
if (has_mapping(var_name) || has_property_binding(var_name)) {
p_list->push_back(PropertyInfo(Variant::STRING, var_name, PROPERTY_HINT_NONE, "", PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_READ_ONLY));
} else {
Expand Down

0 comments on commit e326210

Please sign in to comment.