Browse Source

luminary fix

Nikolay Suslov 3 years ago
parent
commit
ae6db8214b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/core/luminary.js

+ 2 - 2
public/core/luminary.js

@@ -180,7 +180,7 @@ class Luminary {
         } else if (message.action == "getState") {
         } else if (message.action == "getState") {
 
 
             let state = message.result; //JSON.stringify(message.result);
             let state = message.result; //JSON.stringify(message.result);
-            let toClient = message.parameters[0];
+            let toClient = message.parameters[2];
 
 
             let newMsg =
             let newMsg =
                 JSON.stringify({
                 JSON.stringify({
@@ -478,7 +478,7 @@ class Luminary {
                 respond: true,
                 respond: true,
                 time: 'tick',
                 time: 'tick',
                 explicit: masterID,
                 explicit: masterID,
-                parameters: [self.clientID]
+                parameters: [null, null, self.clientID]
             })
             })