统一sceneTemp的local变量名

This commit is contained in:
MrZ626
2020-08-29 02:57:09 +08:00
parent ac5c6ef7b4
commit 5024851ed2
2 changed files with 28 additions and 22 deletions

View File

@@ -64,10 +64,16 @@ function Tmr.load()
end
until not S.skip and Timer()-t>.01
end
function Tmr.p15()
local S=sceneTemp
if S.state==1 then
S.time=Timer()-S.startTime
end
end
function Tmr.intro()
local s=sceneTemp
s.t1=s.t1+1
s.t2=s.t2+1
local S=sceneTemp
S.t1=S.t1+1
S.t2=S.t2+1
end
function Tmr.main(dt)
players[1]:update(dt)