From 197b418fc54d35252349a92ccfb8daf4bd8e202c Mon Sep 17 00:00:00 2001 From: Ryan Ward Date: Sun, 10 Oct 2021 09:12:42 -0400 Subject: [PATCH] Fixed typo --- changes.md | 2 +- test.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/changes.md b/changes.md index 32762ab..f10ba72 100644 --- a/changes.md +++ b/changes.md @@ -121,7 +121,7 @@ Changed: --- - `f = thread:newFunction(func,holdme)` - - Nothing changed that will affect how the object functions defaulty. The returned function is now a table that is callable and 2 new methods have been added: + - Nothing changed that will affect how the object functions by default. The returned function is now a table that is callable and 2 new methods have been added: Method | Description ---|--- diff --git a/test.lua b/test.lua index bd0cf1d..23cab69 100644 --- a/test.lua +++ b/test.lua @@ -14,10 +14,10 @@ end) multi:newThread("test",function() local ret = func() - ret.OnStatus(function(test) - print(test) + ret.OnStatus(function(part,whole) + print(math.ceil((part/whole)*1000)/10) end) - thread.hold(ret.connect()) + thread.hold(ret.OnReturn) print("Function Done!") os.exit() end)