diff --git a/Zframework/init.lua b/Zframework/init.lua index 0617bb493..a7f0aa49d 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -213,8 +213,8 @@ if JS then ]] ), function(data) print("In callback: " .. data); res=data end) repeat - love.timer.sleep(0.1) - JS.retrieveData(0.1) + love.timer.sleep(0.2) + JS.retrieveData(0.2) until res return res end