mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 10:27:49 +02:00
Fixed typo in assert text
This commit is contained in:
parent
7ee651df37
commit
c7981e77cf
@ -70,7 +70,7 @@ end
|
|||||||
|
|
||||||
local function cowait(delay)
|
local function cowait(delay)
|
||||||
local co = coroutine.running()
|
local co = coroutine.running()
|
||||||
assert(co, "You must run this form within a coroutine")
|
assert(co, "You must run this from within a coroutine")
|
||||||
timer.delay(delay, false, function()
|
timer.delay(delay, false, function()
|
||||||
assert(coroutine.resume(co))
|
assert(coroutine.resume(co))
|
||||||
end)
|
end)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user