repo: janusweb action: commit revision: path_from: revision_from: 8aac3805ebebfba5d7bc6a41964852aabb5e54fe: path_to: revision_to:
commit 8aac3805ebebfba5d7bc6a41964852aabb5e54fe Author: James BaicoianuDate: 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
--- 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-----