粘贴任务的非法判断if写反

This commit is contained in:
MrZ626
2020-09-21 09:33:10 +08:00
parent 75b82496a5
commit d5634c0f6f

View File

@@ -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)