summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/engine/builder.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/javascripts/rectangles/engine/builder.js')
-rw-r--r--assets/javascripts/rectangles/engine/builder.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/engine/builder.js b/assets/javascripts/rectangles/engine/builder.js
index 0d2240d..bdc52ed 100644
--- a/assets/javascripts/rectangles/engine/builder.js
+++ b/assets/javascripts/rectangles/engine/builder.js
@@ -281,7 +281,7 @@ var builder = new function(){
el.side = 0
el.rect = null
el.destroy = function(){
- this.el = this.rect = this.rect.x = this.rect.y = null
+ this.el = this.rect = null
}
// possible if walls are opaque