From 3e52f723c2d2d15c38bbd5ddffd3128eb3ce24b1 Mon Sep 17 00:00:00 2001 From: Chris Gregan Date: Mon, 6 Nov 2017 22:41:48 +0000 Subject: [PATCH] Fixed lua say() function to match new say method parameters --- Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt b/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt index 085732ec..21d81740 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt +++ b/Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt @@ -187,7 +187,7 @@ function M.say(text, voiceclip) -- Do variable substitution before displaying text local subbed = M.sub(text) - local e = sd.DoSay(subbed, M.sayoptions.clearprevious, M.sayoptions.waitforinput, M.sayoptions.fadewhendone, M.sayoptions.stopvoiceover, voiceclip) + local e = sd.DoSay(subbed, M.sayoptions.clearprevious, M.sayoptions.waitforinput, M.sayoptions.fadewhendone, M.sayoptions.stopvoiceover, false, voiceclip, nil) M.runwait(e) end