From 2b723bd094a9e46fafc6e96d054f8dde670011db Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 9 Apr 2021 01:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4/=E4=BF=AE=E6=94=B9=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=97=A5=E5=BF=97=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/init.lua | 2 +- parts/ai.lua | 3 --- parts/scenes/net_game.lua | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Zframework/init.lua b/Zframework/init.lua index 359a4857..efa82bbc 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -336,7 +336,7 @@ function love.lowmemory() if TIME()-lastGCtime>6.26 then collectgarbage() lastGCtime=TIME() - LOG.print("[auto GC] low memory 设备内存过低","warn") + LOG.print("[auto GC] low MEM 设备内存过低","warn") end end function love.resize(w,h) diff --git a/parts/ai.lua b/parts/ai.lua index 6f2c0d93..ef806ad5 100644 --- a/parts/ai.lua +++ b/parts/ai.lua @@ -48,13 +48,11 @@ if type(_CC)=="table"then n=n+1 end if not pcall(CC.update,P.AI_bot,F,P.b2b>=100,P.combo)then - LOG.print("CC is dead ("..P.id..")","error") P.AI_bot=nil end end function CC.switch20G(P) if not pcall(CC.destroy,P.AI_bot)then - LOG.print("CC is dead ("..P.id..")","error") P.AI_bot=nil return end @@ -319,6 +317,5 @@ return{ P:changeAtkMode(rnd()<.85 and 1 or #P.atker>3 and 4 or rnd()<.3 and 2 or 3) end end - LOG.print("CC is dead ("..P.id..")","error") end, }--AI brains \ No newline at end of file diff --git a/parts/scenes/net_game.lua b/parts/scenes/net_game.lua index 8c9d894e..e6261800 100644 --- a/parts/scenes/net_game.lua +++ b/parts/scenes/net_game.lua @@ -164,7 +164,7 @@ function scene.socketRead(cmd,d) upstreamProgress=1 resetGameData("n",d.seed) else - LOG.print("Redundant signal: Begin",30,COLOR.green) + LOG.print("Redundant [Go]",30,COLOR.green) end elseif cmd=="Finish"then playing=false