【警告:需要测试】

调整玩家能hold/移动/旋转方块的条件
修复cc复活后小bug
整理代码
This commit is contained in:
MrZ626
2021-12-01 15:46:12 +08:00
parent 9603a78e87
commit e7b4518d73
3 changed files with 26 additions and 20 deletions

View File

@@ -25,8 +25,8 @@ function bot_cc:revive()
self.P:loadAI(self.data)
end
function bot_cc:pushNewNext(id)
self.ccBot:addNext(rem(self.nexts,1))
ins(self.nexts,id)
self.ccBot:addNext(rem(self.bufferedNexts,1))
ins(self.bufferedNexts,id)
end
function bot_cc:thread()
local P,keys=self.P,self.keys