فهرست منبع

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

Reddo 5 سال پیش
والد
کامیت
b36a2c0b14
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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" />
 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> = [];