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

@ -336,6 +336,9 @@ namespace Fungus
return false; return false;
} }
// Remove all tabs from input
input.Replace("\t", "");
MoonSharp.Interpreter.Script interpreter = luaEnvironment.Interpreter; MoonSharp.Interpreter.Script interpreter = luaEnvironment.Interpreter;
// Instantiate the regular expression object. // Instantiate the regular expression object.

624
Assets/Tests/Narrative/ConversationTests.unity

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