fix "cannot resume dead coroutine" for servers

This commit is contained in:
MihailRis
2025-07-26 17:08:45 +03:00
parent 8489c36df7
commit 1bd3463488
7 changed files with 78 additions and 24 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ public:
}
void update() override {
if (id == 0) {
if (!alive || id == 0) {
return;
}
if (lua::requireglobal(L, "__vc_resume_coroutine")) {