Browse Source

Fixed tabs in conversation text from Lua #574

master
Christopher 8 years ago
parent
commit
a4b830a4f0
  1. 3
      Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs
  2. 624
      Assets/Tests/Narrative/ConversationTests.unity

3
Assets/Fungus/Thirdparty/FungusLua/Scripts/Components/LuaUtils.cs vendored

@ -335,6 +335,9 @@ namespace Fungus
UnityEngine.Debug.LogError("No Lua interpreter found");
return false;
}
// Remove all tabs from input
input.Replace("\t", "");
MoonSharp.Interpreter.Script interpreter = luaEnvironment.Interpreter;

624
Assets/Tests/Narrative/ConversationTests.unity

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save