整理代码

This commit is contained in:
MrZ626
2021-12-18 16:08:45 +08:00
parent d6ab7e72b2
commit 226e45b24d
7 changed files with 8 additions and 7 deletions

View File

@@ -103,7 +103,7 @@ function scene.keyDown(key,isRep)
MES.new('check',text.exportSuccess)
elseif key=='v'and kb.isDown('lctrl','rctrl')or key=='cV'then
local str=sys.getClipboardText()
local args=STRING.split(str:sub((str:find(":")or 0)+1),"!")
local args=str:sub((str:find(":")or 0)+1):split("!")
if #args<4 then goto THROW_fail end
if not(
DATA.pasteQuestArgs(args[1])and