mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 02:23:38 +02:00
don't complain about other's finishedSound messages
This commit is contained in:
parent
1bbf0179dd
commit
2fbb2338c5
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
var MESSAGE_CHANNEL = "io.highfidelity.summon-crowd";
|
var MESSAGE_CHANNEL = "io.highfidelity.summon-crowd";
|
||||||
|
|
||||||
print('crowd-agent version 2');
|
print('crowd-agent version 3');
|
||||||
|
|
||||||
/* Observations:
|
/* Observations:
|
||||||
- File urls for AC scripts silently fail. Use a local server (e.g., python SimpleHTTPServer) for development.
|
- File urls for AC scripts silently fail. Use a local server (e.g., python SimpleHTTPServer) for development.
|
||||||
|
@ -102,6 +102,7 @@ function messageHandler(channel, messageString, senderID) {
|
||||||
messageSend({key: 'hello'}); // Allow the coordinator to count responses and make assignments.
|
messageSend({key: 'hello'}); // Allow the coordinator to count responses and make assignments.
|
||||||
break;
|
break;
|
||||||
case 'hello': // ignore responses (e.g., from other agents)
|
case 'hello': // ignore responses (e.g., from other agents)
|
||||||
|
case 'finishedSound':
|
||||||
break;
|
break;
|
||||||
case "SUMMON":
|
case "SUMMON":
|
||||||
if (message.rcpt === Agent.sessionUUID) {
|
if (message.rcpt === Agent.sessionUUID) {
|
||||||
|
|
Loading…
Reference in a new issue