aboutsummaryrefslogtreecommitdiff
path: root/src/libjin-lua/scripts/path/path.lua
blob: e979114d51d3b5c97029de39b747f45eddca7f53 (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