1
1
Эх сурвалжийг харах

Allow empty variable Branches to just be truth-state forks!

Reddo 5 жил өмнө
parent
commit
b36a2c0b14

+ 1 - 1
app/World/Classes/Dialogue/DialogueBranch.ts

@@ -1,7 +1,7 @@
 /// <reference path="DialogueNode.ts" />
 class DialogueBranch extends DialogueNode {
     public type = NodeType.Branch;
-    public variable : () => any = () => {return false;}
+    public variable : () => any = () => {return true;}
     public branchIds : Array<string> = [];
     public branchConditions : Array<() => any> = [];