fix many reference-vs-value error (#1044)

fixes #1039
completes #1007
This commit is contained in:
Imple Lee
2023-11-13 12:20:24 +08:00
committed by GitHub
parent c650f268f6
commit 7d23fe4acb
3 changed files with 22 additions and 11 deletions

View File

@@ -82,7 +82,8 @@ function scene.keyDown(key)
end
local success,mission=DATA.pasteMission(str)
if success then
CUSTOMGAME_LOCAL.mission=mission
TABLE.cut(MISSION)
TABLE.cover(mission,MISSION)
MES.new('check',text.importSuccess)
cur=#MISSION
else