Browse Source

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

Reddo 5 years ago
parent
commit
b36a2c0b14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/World/Classes/Dialogue/DialogueBranch.ts

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

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