由于”远程玩家“的加入,玩家布尔值属性human改为字符串属性type
This commit is contained in:
@@ -136,7 +136,7 @@ function update.alive(P,dt)
|
||||
end
|
||||
end
|
||||
|
||||
if not P.human and P.control and P.waiting==-1 then
|
||||
if P.type=="computer"and P.control and P.waiting==-1 then
|
||||
local C=P.AI_keys
|
||||
P.AI_delay=P.AI_delay-1
|
||||
if not C[1]then
|
||||
|
||||
Reference in New Issue
Block a user