修复网战重开后上传数据错误

This commit is contained in:
MrZ626
2021-02-10 21:12:14 +08:00
parent 2d2bf64799
commit 1c77c88b12

View File

@@ -236,6 +236,8 @@ function scene.socketRead(mes)
elseif cmd=="B"then elseif cmd=="B"then
if not playing then if not playing then
playing=true playing=true
lastUpstreamTime=0
upstreamProgress=1
resetGameData("n",playerData,tonumber(args[1])) resetGameData("n",playerData,tonumber(args[1]))
else else
LOG.print("Redundant signal: B(begin)",30,COLOR.green) LOG.print("Redundant signal: B(begin)",30,COLOR.green)