diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-10-10 20:54:14 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-10-10 20:54:14 -0400 |
| commit | 4263bc016e828f7407b446e27bdf64d898758627 (patch) | |
| tree | f09ccb8000973ede389c2766c2ae680485126526 /public/assets/javascripts/rectangles/_env.js | |
| parent | 86153d1221e38615d0a7dea8a8029a184fb25ece (diff) | |
refactor layout-parsing calls into Rooms.rebuild
Diffstat (limited to 'public/assets/javascripts/rectangles/_env.js')
| -rw-r--r-- | public/assets/javascripts/rectangles/_env.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/public/assets/javascripts/rectangles/_env.js b/public/assets/javascripts/rectangles/_env.js index 4b14a21..ecde3ca 100644 --- a/public/assets/javascripts/rectangles/_env.js +++ b/public/assets/javascripts/rectangles/_env.js @@ -17,14 +17,15 @@ environment.init = function(){ scene.camera.radius = 20 } - app.movements.gravity(true) - Rooms.init() + Walls.init() Scenery.init() scene.update() environment.update() + app.movements.gravity(true) + var minimap_el = document.querySelector("#minimap .el") if (minimap_el) { window.minimap = new Map ({ |
