1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-21 18:57:41 +00:00

builder improvements

This commit is contained in:
kepler155c@gmail.com
2017-06-09 17:41:03 -04:00
parent b618246679
commit 71cbf34ade
3 changed files with 27 additions and 17 deletions

View File

@@ -24,13 +24,15 @@ function MEProvider:init(args)
end
end
if self.side then
local sides = {
top = 'down',
bottom = 'up',
}
self.oside = sides[self.side]
end
local sides = {
top = 'down',
bottom = 'up',
east = 'west',
west = 'east',
north = 'south',
south = 'north',
}
self.oside = sides[self.direction or self.side]
end
function MEProvider:isValid()