提交 e9c408df 编写于 作者: S Shengliang Guan

fix: return error on child script failed

上级 aa02a56a
...@@ -99,6 +99,7 @@ SScript *simProcessCallOver(SScript *script) { ...@@ -99,6 +99,7 @@ SScript *simProcessCallOver(SScript *script) {
} }
if (simScriptPos == -1) return NULL; if (simScriptPos == -1) return NULL;
if (!simExecSuccess) return NULL;
return simScriptList[simScriptPos]; return simScriptList[simScriptPos];
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册