修复计算器切场景bug

This commit is contained in:
MrZ_26
2020-08-12 22:57:43 +08:00
parent ec036037fe
commit cb98a9094a

View File

@@ -191,7 +191,7 @@ function keyDown.calculator(k)
end end
elseif k=="space"then elseif k=="space"then
if S.pass then if S.pass then
SCN.go("load") SCN.swapTo("load")
end end
end end
end end
@@ -203,6 +203,8 @@ function keyDown.load(k)
elseif k=="s"then elseif k=="s"then
marking=nil marking=nil
sceneTemp.skip=true sceneTemp.skip=true
elseif k=="escape"then
SCN.back()
end end
end end
function touchDown.load(id,x,y) function touchDown.load(id,x,y)