aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/scripts/path/path.lua
blob: c6bcf41f7692fffc623ab79b9b1fb948b8427c76 (plain)
1
2
3
4
5
6
7
8
9
10

jin.path = jin.path or {} 

-- Game root directory.
jin.cwd = jin.args['cwd'] or '.' 

-- Get full path of a given path.
function jin.path.full(path)
    return jin.cwd .. '/' .. path
end