repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 8aac3805ebebfba5d7bc6a41964852aabb5e54fe:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 8aac3805ebebfba5d7bc6a41964852aabb5e54fe
Author: James Baicoianu 
Date:   Sun Jul 30 22:52:17 2017 -0700

    Disable player controls when source window is activated

diff --git a/scripts/room.js b/scripts/room.js
index 59dc630daff272c74833697b5be2244600b82989..
index ..be2e71c73dfcc5122aeb1541eddee41a6f5c01ee 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -305,6 +305,7 @@ elation.require([
       this.engine.client.player.camera.camera.far = this.properties.far_dist;
     }
     this.showDebug = function() {
+      this.engine.client.player.disable();
       if (!this.debugwindow) {
         var content = elation.ui.panel_vertical({classname: 'janusweb_room_debug'});

-----END OF PAGE-----