diff options
Diffstat (limited to 'assets/javascripts/rectangles/models/room.js')
| -rw-r--r-- | assets/javascripts/rectangles/models/room.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/models/room.js b/assets/javascripts/rectangles/models/room.js index 3636284..4c5643a 100644 --- a/assets/javascripts/rectangles/models/room.js +++ b/assets/javascripts/rectangles/models/room.js @@ -4,7 +4,7 @@ var FRONT = 0x1, BACK = 0x2, LEFT = 0x4, RIGHT = 0x8, FLOOR = 0x10, CEILING = 0x window.Room = (function(){ var Room = function(opt){ - this.id = opt.id || clipper.rooms.length + this.id = opt.id || Rooms.list.length this.rect = opt.rect this.regions = [] this.walls = [] |
