修正老版本场景系统残留代码

This commit is contained in:
MrZ626
2020-12-07 00:51:11 +08:00
parent 447c0cdf8d
commit af3bc9427d
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ function scene.keyDown(k)
end
end
elseif k:sub(1,2)=="kp"then
S.keyDown(k:sub(3))
scene.keyDown(k:sub(3))
elseif k=="."then
if not(find(S.val,".",nil,true)or find(S.val,"e"))then
if S.sym and not S.reg then

View File

@@ -57,7 +57,7 @@ function scene.keyDown(key)
rem(MISSION,S.cur)
S.cur=S.cur-1
if S.cur>0 and MISSION[S.cur]==MISSION[S.cur+1]then
S.keyDown("right")
scene.keyDown("right")
end
end
elseif key=="delete"then

View File

@@ -59,7 +59,7 @@ function scene.keyDown(key)
rem(BAG,S.cur)
S.cur=S.cur-1
if S.cur>0 and BAG[S.cur]==BAG[S.cur+1]then
S.keyDown("right")
scene.keyDown("right")
end
end
elseif key=="delete"then