diff options
| author | the lemons <citrons@mondecitronne.com> | 2022-08-28 05:07:50 -0500 |
|---|---|---|
| committer | the lemons <citrons@mondecitronne.com> | 2022-08-28 05:07:50 -0500 |
| commit | 36e82277c4a4eed6da642cc5b7b036fc4641191a (patch) | |
| tree | ab378881e85ba007e37f83a744c6674fe3693aa3 /load.lua | |
| parent | 3129926390486aa334bab648ced10bd928f99c93 (diff) | |
add testing runtime
Diffstat (limited to 'load.lua')
| -rw-r--r-- | load.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ return function(args) runtime = args[2] end local path = "runtime/"..runtime..".lua" - local rt = assert(loadstring(assert(love.filesystem.read(path)))) + local rt = assert( + loadstring(assert(love.filesystem.read(path)), "@"..path)) return rt(unpack(args, 3)) end |
