微调场地绘制的交互

This commit is contained in:
MrZ626
2021-04-28 09:17:28 +08:00
parent 1d796c624d
commit 385d376037
7 changed files with 57 additions and 64 deletions

View File

@@ -77,7 +77,7 @@ function scene.keyDown(key)
end
elseif key=="v"and kb.isDown("lctrl","rctrl")or key=="cV"then
local str=sys.getClipboardText()
local p=string.find(str,":")--ptr*
local p=str:find":"--ptr*
if p then str=sub(str,p+1)end
if DATA.pasteMission(str)then
LOG.print(text.importSuccess,COLOR.G)