修复从无移动和无旋转模式返回后目标场景不对

This commit is contained in:
MrZ626
2020-12-08 19:46:54 +08:00
parent 284d02d172
commit 80eb2e8371

View File

@@ -14,10 +14,8 @@ end
function scene.mouseDown(x,y)
if x>230 and x<1050 then
if math.abs(y-800+sceneTemp.time*40)<70 then
SCN.pop()
loadGame("sprintLock")
elseif math.abs(y-2160+sceneTemp.time*40)<70 then
SCN.pop()
loadGame("sprintFix")
end
end
@@ -30,10 +28,8 @@ end
function scene.keyDown(k)
if kb.isDown("s")then
if k=="l"then
SCN.pop()
loadGame("sprintLock")
elseif k=="f"then
SCN.pop()
loadGame("sprintFix")
end
end