修复一个之前录像机制更改但代码没有完全跟进导致对战时蓝屏

This commit is contained in:
MrZ626
2021-02-15 17:56:28 +08:00
parent 6a43f029c3
commit f01ed4059a

View File

@@ -333,7 +333,7 @@ end
function Player.attack(P,R,send,time,line,fromStream)
if GAME.net then
if P.type=="human"then--Local player attack others
ins(GAME.rep,GAME.frame+1)
ins(GAME.rep,GAME.frame)
ins(GAME.rep,
R.subID+
send*0x100+
@@ -343,7 +343,7 @@ function Player.attack(P,R,send,time,line,fromStream)
)
end
if fromStream and R.type=="human"then--Local player receiving lines
ins(GAME.rep,GAME.frame+1)
ins(GAME.rep,GAME.frame)
ins(GAME.rep,
P.subID+
send*0x100+