开局前按键次数也会被统计
This commit is contained in:
@@ -1050,8 +1050,8 @@ local function pressKey(P,i)
|
|||||||
ins(P.keyTime,1,game.frame)
|
ins(P.keyTime,1,game.frame)
|
||||||
P.keyTime[11]=nil
|
P.keyTime[11]=nil
|
||||||
end
|
end
|
||||||
P.stat.key=P.stat.key+1
|
|
||||||
end
|
end
|
||||||
|
P.stat.key=P.stat.key+1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local function releaseKey(P,i)
|
local function releaseKey(P,i)
|
||||||
@@ -1070,8 +1070,8 @@ local function pressKey_Rec(P,i)
|
|||||||
ins(P.keyTime,1,game.frame)
|
ins(P.keyTime,1,game.frame)
|
||||||
P.keyTime[11]=nil
|
P.keyTime[11]=nil
|
||||||
end
|
end
|
||||||
P.stat.key=P.stat.key+1
|
|
||||||
end
|
end
|
||||||
|
P.stat.key=P.stat.key+1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local function releaseKey_Rec(P,i)
|
local function releaseKey_Rec(P,i)
|
||||||
@@ -1292,7 +1292,7 @@ local function loadAI(P,AIdata)--Load AI params
|
|||||||
|
|
||||||
next=AIdata.next,
|
next=AIdata.next,
|
||||||
hold=AIdata.hold,
|
hold=AIdata.hold,
|
||||||
_20G=ENV._20G,
|
_20G=P._20G,
|
||||||
bag=AIdata.bag,
|
bag=AIdata.bag,
|
||||||
node=AIdata.node,
|
node=AIdata.node,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user