Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows启动程序时出现Error:parts/ai.lua:285: attempt to call field 'ifDead'(a nil value) #24

Closed
ltldlzltl opened this issue Aug 19, 2020 · 1 comment · Fixed by #21

Comments

@ltldlzltl
Copy link

TRACEBACK
parts/ai.lua:285: in function <parts/ai.lua:284>
parts/player.lua:302 in function 'update'
Zframework/timer.lua:73: in function '_'

看了下前面的定义

ifDead = cc.is_dead_async

然而在CCloader的代码里好像并没有实现这个函数

@Gompyn
Copy link
Contributor

Gompyn commented Aug 20, 2020

这是因为在CC重构了之后这个函数已经不存在了,CCloader中也就没有这个函数了。
你可以选择用旧的CCloader或techmino merge了对应的 #21 后的版本。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants