mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add socket:available() --> int
This commit is contained in:
parent
e94b70fd3a
commit
13de581b4b
5 changed files with 17 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ function __vc_resume_coroutine(id)
|
|||
if co then
|
||||
coroutine.resume(co)
|
||||
if __vc_coroutine_error then
|
||||
debug.error(__vc_coroutine_error)
|
||||
error(__vc_coroutine_error)
|
||||
end
|
||||
return coroutine.status(co) ~= "dead"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue