diff --git a/Zframework/init.lua b/Zframework/init.lua index 51a11ebb..af088977 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -119,7 +119,7 @@ function love.mousepressed(x,y,k,touch) if SCN.mouseDown then SCN.mouseDown(mx,my,k)end WIDGET.press(mx,my,k) lastX,lastY=mx,my - if SETTING.clickFX then SYSFX.newTap(3,mx,my,30)end + if SETTING.clickFX then SYSFX.newTap(3,mx,my)end end function love.mousemoved(x,y,dx,dy,touch) if touch then return end @@ -189,7 +189,7 @@ function love.touchreleased(id,x,y) if SCN.touchUp then SCN.touchUp(x,y)end if(x-lastX)^2+(y-lastY)^2<62 then if SCN.touchClick then SCN.touchClick(x,y)end - if SETTING.clickFX then SYSFX.newTap(3,x,y,30)end + if SETTING.clickFX then SYSFX.newTap(3,x,y)end end end diff --git a/parts/data.lua b/parts/data.lua index 9f58e82d..d56d98a6 100644 --- a/parts/data.lua +++ b/parts/data.lua @@ -368,7 +368,7 @@ do--function DATA.saveRecording() end --Write file - local fileName="replay/"..os.date("%Y_%m_%d_%a_%H%M%S.rep") + local fileName=os.date("replay/%Y_%m_%d_%a_%H%M%S.rep") if not love.filesystem.getInfo(fileName)then local fileHead= os.date("%Y/%m/%d %A %H:%M:%S\n")..