粘贴任务的非法判断if写反
This commit is contained in:
@@ -1746,7 +1746,7 @@ do--custom_mission
|
|||||||
local str=sys.getClipboardText()
|
local str=sys.getClipboardText()
|
||||||
local p=string.find(str,":")--ptr*
|
local p=string.find(str,":")--ptr*
|
||||||
if p then str=sub(str,p+1)end
|
if p then str=sub(str,p+1)end
|
||||||
if not pasteMission(str)then
|
if pasteMission(str)then
|
||||||
LOG.print(text.pasteSuccess,color.green)
|
LOG.print(text.pasteSuccess,color.green)
|
||||||
else
|
else
|
||||||
LOG.print(text.dataCorrupted,color.red)
|
LOG.print(text.dataCorrupted,color.red)
|
||||||
|
|||||||
Reference in New Issue
Block a user