略微优化性能

This commit is contained in:
MrZ626
2021-05-05 11:12:43 +08:00
parent 1d36d50fca
commit 9af190529c
2 changed files with 12 additions and 9 deletions

View File

@@ -21,8 +21,7 @@ local scene={}
function scene.sceneInit(org)
BG.set()
destroyPlayers()
local cam=mapCam
cam.zoomK=org=="main"and 5 or 1
mapCam.zoomK=org=="main"and 5 or 1
end
local function getK()