add socket:available() --> int

This commit is contained in:
MihailRis
2025-01-07 18:44:40 +03:00
parent e94b70fd3a
commit 13de581b4b
5 changed files with 17 additions and 0 deletions
+1
View File
@@ -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"