Skip to content

Commit e493cc1

Browse files
committed
fix #338
1 parent f16a4d2 commit e493cc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/while_do_else_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NodeStatus WhileDoElseNode::tick()
3333

3434
if(children_count != 3)
3535
{
36-
throw std::logic_error("WhileDoElse must have either 2 or 3 children");
36+
throw std::logic_error("WhileDoElse must have 3 children");
3737
}
3838

3939
setStatus(NodeStatus::RUNNING);

0 commit comments

Comments
 (0)