Skip to content

Commit

Permalink
Merge branch 'develop' into steam-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphiiko committed Jul 27, 2024
2 parents 510f290 + 9d5b1ac commit b729415
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src-ui/app/services/osc.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,11 @@ export class OscService {
.map((parameter) => `${parameter.type} => ${parameter.value}`)
.join(', ');

const addresses = [];
addresses.push(...this.getAddressAliasesForAvatarContext(address));
if (!addresses.includes(address)) addresses.push(address);
const addresses = [...this.getAddressAliasesForAvatarContext(address)];
if (!addresses.length) addresses.push(address);

for (const oscAddr of addresses) {
debug(`[OSC] Sending {${parametersString}} to ${oscAddr}`);
info(`[OSC] Sending {${parametersString}} to ${oscAddr}`);

await invoke('osc_send_command', {
addr,
Expand Down

0 comments on commit b729415

Please sign in to comment.