mirror of
https://github.com/notwa/mm
synced 2024-11-05 00:19:02 -08:00
juggle some files around
This commit is contained in:
parent
74164a2897
commit
aaaa16a7c5
28 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue