blob: 300f3ccec080106a2782ae360fefac89c7734683 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
return function(args)
love.setDeprecationOutput(false)
local runtime = "game"
if not love.filesystem.isFused() and args[1] == '-r' then
runtime = args[2]
end
local path = "runtime/"..runtime..".lua"
local rt = assert(
loadstring(assert(love.filesystem.read(path)), "@"..path))
return rt(unpack(args, 3))
end
|