bugfix with loading plugin data on non-osc devices

This commit is contained in:
sparks-alec
2022-12-10 23:34:47 -05:00
parent a1877873b2
commit 936a42ae31
+2 -1
View File
@@ -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;
}