use an available constant
This commit is contained in:
parent
1f42711dde
commit
a7fb944976
|
@ -1,5 +1,5 @@
|
|||
run_screen = function(screen_name)
|
||||
local contents = love.filesystem.read('screens/'..screen_name)
|
||||
local contents = love.filesystem.read(Directory..screen_name)
|
||||
if contents == nil then
|
||||
print("couldn't read screen "..screen_name)
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue