I'm planning a bigger script project with several script parts. My idea is to start another skript with dofile(). First tests are ok.
But there is an issue with dofile()
. When a script runs via dofile()
and in this script is included sleep()
, I get an error message. Without sleep()
is all fine.
for i=1, 10 do
attempt to yield across metamethod/C-call boundary