1
0
Fork 0
mirror of https://github.com/notwa/mm synced 2024-11-04 22:49:03 -08:00

juggle some files around

This commit is contained in:
Connor Olding 2015-05-10 15:17:26 -07:00
parent 74164a2897
commit aaaa16a7c5
28 changed files with 5 additions and 2 deletions

View file

@ -29,10 +29,13 @@ return function(hash)
end end
function AA(a, s) return A(b.actor + a, s) end function AA(a, s) return A(b.actor + a, s) end
local addrs = require("addrs."..rv) local subdir = version:sub(1, 1)
local rvs = rv:sub(3)
local addrs = require("addrs."..subdir.."."..rvs)
addrs.version = version addrs.version = version
addrs.oot = v == "O " addrs.oot = v == "O "
addrs.mm = v == "M " addrs.mm = v == "M "
local common = require("addrs."..v.."common") local common = require("addrs."..subdir..".common")
return setmetatable(addrs, {__index=common}) return setmetatable(addrs, {__index=common})
end end