修复粘贴错误任务代码崩溃

This commit is contained in:
MrZ626
2020-10-13 00:16:40 +08:00
parent 92c80e075d
commit e89a4c682d

View File

@@ -264,8 +264,12 @@ function pasteMission(str)
end
else
if _>=34 and _<=114 then
ins(mission,reg)
reg=_-33
if missionEnum[reg]then
ins(mission,reg)
reg=_-33
else
return
end
elseif _>=115 and _<=126 then
for i=1,_-113 do
ins(mission,reg)