修复机器人更新协程结束后不会让机器人进入自杀模式
This commit is contained in:
@@ -16,7 +16,9 @@ function baseBot.update(bot)
|
||||
bot.delay=bot.delay-1
|
||||
if not keys[1]then
|
||||
if bot.runningThread then
|
||||
pcall(bot.runningThread)
|
||||
if not pcall(bot.runningThread)then
|
||||
bot.runningThread=false
|
||||
end
|
||||
else
|
||||
P:act_hardDrop()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user