Browse Source

Conversation variable match

Don't try to do determine substitutions with an empty conversation
master
shalliwell 5 years ago
parent
commit
5cdbb9cff9
  1. 3
      Assets/Fungus/Scripts/Commands/Conversation.cs

3
Assets/Fungus/Scripts/Commands/Conversation.cs

@ -81,7 +81,8 @@ namespace Fungus
var f = GetFlowchart();
f.DetermineSubstituteVariables(conversationText, referencedVariables);
if(!string.IsNullOrEmpty(conversationText.Value))
f.DetermineSubstituteVariables(conversationText, referencedVariables);
}
#endif
#endregion Editor caches

Loading…
Cancel
Save