Browse Source

Fixed lua say() function to match new say method parameters

master
Chris Gregan 7 years ago
parent
commit
3e52f723c2
  1. 2
      Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt

2
Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt vendored

@ -187,7 +187,7 @@ function M.say(text, voiceclip)
-- Do variable substitution before displaying text -- Do variable substitution before displaying text
local subbed = M.sub(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) M.runwait(e)
end end

Loading…
Cancel
Save