summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/rectangles/engine/map/ui/editor.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-11-15 16:14:05 +0100
committerJules Laplace <julescarbon@gmail.com>2019-11-15 16:14:05 +0100
commit9a5814e462b827dbd4a709edebf94fa5a65a26fa (patch)
tree95090d8859ffb6c8c9b328dc45d1debdccd72de0 /public/assets/javascripts/rectangles/engine/map/ui/editor.js
parentfbac93bc34e08348580cd0925bd8b37ebb10d924 (diff)
getting things running again
Diffstat (limited to 'public/assets/javascripts/rectangles/engine/map/ui/editor.js')
-rw-r--r--public/assets/javascripts/rectangles/engine/map/ui/editor.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/assets/javascripts/rectangles/engine/map/ui/editor.js b/public/assets/javascripts/rectangles/engine/map/ui/editor.js
index 7308344..3e1d720 100644
--- a/public/assets/javascripts/rectangles/engine/map/ui/editor.js
+++ b/public/assets/javascripts/rectangles/engine/map/ui/editor.js
@@ -73,7 +73,7 @@ Map.UI.Editor = function(map){
app.tube("builder-destroy-room", room)
// TODO: watch individual scenery object here
- Minotaur.watch( app.router.editorView.settings )
+ Minotaur.watch( app.controller.settings )
return
}
else if (intersects.length) {
@@ -205,7 +205,7 @@ Map.UI.Editor = function(map){
Rooms.rebuild()
// TODO: watch individual scenery object here
- Minotaur.watch( app.router.editorView.settings )
+ Minotaur.watch( app.controller.settings )
}
var intersects = Rooms.filter(function(r){
@@ -247,7 +247,7 @@ Map.UI.Editor = function(map){
Rooms.rebuild()
// TODO: watch individual scenery object here
- Minotaur.watch( app.router.editorView.settings )
+ Minotaur.watch( app.controller.settings )
wheelState = null
}, 250)
@@ -268,7 +268,7 @@ Map.UI.Editor = function(map){
Rooms.rebuild()
// TODO: watch individual scenery object here
- Minotaur.watch( app.router.editorView.settings )
+ Minotaur.watch( app.controller.settings )
wheelState = null
}, 250)