Skip to content

Commit 0cd8111

Browse files
committed
make assignment node show the variable name...
1 parent aa58b74 commit 0cd8111

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/nodes/logic/VariableValueAssignment.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,14 @@ export class VariableValueAssignment extends ExecutableLogicNode {
3737
? this.varValue.connectedTo.type
3838
: DataType.wildcard;
3939

40-
if (!this.varOutlet.connectedTo) this.varOutlet.type = type;
40+
if (!this.varOutlet.connectedTo)
41+
{
42+
this.varOutlet.type = type;
43+
this.customNodeName = undefined;
44+
}
45+
else this.customNodeName = this.varOutlet.connectedTo.owner.nodeName + " = ...";
46+
47+
4148
if (!this.varValue.connectedTo) this.varValue.type = type;
4249

4350
super.update();

0 commit comments

Comments
 (0)