From 36e82277c4a4eed6da642cc5b7b036fc4641191a Mon Sep 17 00:00:00 2001 From: the lemons Date: Sun, 28 Aug 2022 05:07:50 -0500 Subject: add testing runtime --- load.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'load.lua') diff --git a/load.lua b/load.lua index aefac62..300f3cc 100644 --- a/load.lua +++ b/load.lua @@ -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 -- cgit v1.2.3