Kaynağa Gözat

Removing debug logging

davrous 8 yıl önce
ebeveyn
işleme
309505e29d
1 değiştirilmiş dosya ile 0 ekleme ve 2 silme
  1. 0 2
      src/Tools/babylon.gamepads.ts

+ 0 - 2
src/Tools/babylon.gamepads.ts

@@ -92,14 +92,12 @@
             for (var i in this.babylonGamepads) {
             for (var i in this.babylonGamepads) {
                 if (this.babylonGamepads[i].index == gamepad.index) {
                 if (this.babylonGamepads[i].index == gamepad.index) {
                     this.babylonGamepads.splice(+i, 1);
                     this.babylonGamepads.splice(+i, 1);
-                    console.log("gamepad removed from collection");
                     break;
                     break;
                 }
                 }
             }
             }
 
 
             // If no gamepads are left, stop the polling loop.
             // If no gamepads are left, stop the polling loop.
             if (this.babylonGamepads.length == 0) {
             if (this.babylonGamepads.length == 0) {
-                console.log("No more gamepad connected. Collection empty.");
                 this._stopMonitoringGamepads();
                 this._stopMonitoringGamepads();
                 this.oneGamepadConnected = false;
                 this.oneGamepadConnected = false;
             }
             }