fixed gitignore

This commit is contained in:
lustlion
2022-02-18 00:23:04 +01:00
parent 405c80d039
commit 74ee5b63aa
4 changed files with 293 additions and 631 deletions

View File

@@ -16,7 +16,7 @@ end
function Demo:PlaybackStart()
DemoPlayback = true
CurrentDemoFrame = 0
dofile("demo/play_demo.lua")
dofile("demos/play_demo.lua")
end
function Demo:PlaybackEnd()
@@ -34,8 +34,8 @@ end
function Demo:RecordStart()
-- Make demo stuff
os.execute( "mkdir \"./demo\"" )
DemoFile = io.open("demo/play_demo.lua", "w+")
os.execute( "mkdir \"./demos\"" )
DemoFile = io.open("demos/play_demo.lua", "w+")
--DemoFile = io.open("demo/mothbackDemo_"..os.date("%Y-%m-%d_%H-%M-%S")..".lua", "w+")
DemoFile:write("main_Player.pos.x = "..main_Player.pos.x.."\n")
DemoFile:write("main_Player.pos.y = "..main_Player.pos.y.."\n")

View File

@@ -33,7 +33,6 @@ function Keybind:CheckDown(action)
else
check = love.mouse.isDown(keyname)
end
if check then
if action.demo ~= nil then
Demo:RecordAction(action.demo)