修正玩家创建任务第一次初始化运行的时候报错没有任何提示
This commit is contained in:
@@ -203,7 +203,7 @@ end
|
||||
--------------------------<Method>--------------------------
|
||||
function Player:newTask(code,...)
|
||||
local thread=coroutine.create(code)
|
||||
resume(thread,self,...)
|
||||
assert(resume(thread,self,...))
|
||||
if status(thread)~='dead'then
|
||||
ins(self.tasks,{
|
||||
thread=thread,
|
||||
|
||||
Reference in New Issue
Block a user