mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-06 14:23:40 +00:00
bugfix with loading plugin data on non-osc devices
This commit is contained in:
+2
-1
@@ -132,7 +132,7 @@ function initDeviceConnection(id) {
|
||||
device.send = (address, args) => {
|
||||
device.connection.send({ address, args });
|
||||
};
|
||||
device.plugin = plugins[type];
|
||||
|
||||
} else if (plugins[type].config.connectionType === 'TCPsocket') {
|
||||
device.connection = new net.Socket();
|
||||
|
||||
@@ -199,6 +199,7 @@ function initDeviceConnection(id) {
|
||||
|
||||
device.send = (data) => {};
|
||||
}
|
||||
device.plugin = plugins[type];
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user