ensure Filename is writable when opened outside a terminal
Thanks Jimmy Miller for reporting this.
This commit is contained in:
parent
7d9125b0b0
commit
5d139f4327
2
main.lua
2
main.lua
|
@ -57,7 +57,7 @@ Line_width = nil -- maximum width available to either text or drawings, in pixe
|
||||||
|
|
||||||
Zoom = 1.5
|
Zoom = 1.5
|
||||||
|
|
||||||
Filename = 'lines.txt'
|
Filename = love.filesystem.getUserDirectory()..'/lines.txt'
|
||||||
|
|
||||||
function love.load(arg)
|
function love.load(arg)
|
||||||
-- maximize window
|
-- maximize window
|
||||||
|
|
Loading…
Reference in New Issue