Closes issue #3.
Esse commit está contido em:
+1
-1
@@ -55,7 +55,7 @@ function Controller(client, options) {
|
|||||||
// Register the listener on navdata for our control loop
|
// Register the listener on navdata for our control loop
|
||||||
var self = this;
|
var self = this;
|
||||||
client.on('navdata', function(d) {
|
client.on('navdata', function(d) {
|
||||||
if (!this._busy) {
|
if (!this._busy && d.demo) {
|
||||||
this._busy = true;
|
this._busy = true;
|
||||||
self._processNavdata(d);
|
self._processNavdata(d);
|
||||||
self._control(d);
|
self._control(d);
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário