From a61c8bf9fddb47a7fa4254eab46f7dd1b4795887 Mon Sep 17 00:00:00 2001 From: chrisgregan Date: Fri, 15 Apr 2016 15:13:17 +0100 Subject: [PATCH] Fixed Lua source code listing on exception in LuaScript component --- Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaScript.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaScript.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaScript.cs index 1e83e30e..6fa0f3d9 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaScript.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaScript.cs @@ -138,7 +138,7 @@ namespace Fungus } else { - luaEnvironment.RunLuaCoroutine(luaFunction, friendlyName); + luaEnvironment.RunLuaCoroutine(luaFunction, luaScript); } } }