diff options
Diffstat (limited to 'assets/javascripts/rectangles/engine/scenery.js')
| -rw-r--r-- | assets/javascripts/rectangles/engine/scenery.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/javascripts/rectangles/engine/scenery.js b/assets/javascripts/rectangles/engine/scenery.js index faeaf6b..3a43755 100644 --- a/assets/javascripts/rectangles/engine/scenery.js +++ b/assets/javascripts/rectangles/engine/scenery.js @@ -30,7 +30,7 @@ var scenery = new function(){ img.height = ~~(300 * img.naturalHeight/img.naturalWidth) }) - clipper.rooms.forEach(function(room){ + Rooms.forEach(function(room){ room.walls.forEach(function(wall){ new_image(wall, choice(images)) }) @@ -45,7 +45,7 @@ var scenery = new function(){ var mx_img = new MX.Image({ src: img.src, x: 0, - y: clipper.rooms[wall.room].height/2 - img.height/2 - 20, + y: Rooms.list[wall.room].height/2 - img.height/2 - 20, z: 0, scale: 300/img.naturalWidth, rotationY: 0, |
