整理代码,跟进之前的整理玩家方法

This commit is contained in:
MrZ626
2021-08-25 14:01:11 +08:00
parent 4c18629cd7
commit 179ff9b10a
2 changed files with 6 additions and 6 deletions

View File

@@ -417,9 +417,7 @@ function update.remote_alive(P,dt)
for _,p in next,PLY_ALIVE do
if p.sid==sid then
P:attack(p,amount,time,line,true)
if P.gameEnv.atkFX then
P:createBeam(p,amount,P.gameEnv.atkFX,P.cur.color)
end
P:createBeam(p,amount)
break
end
end