some logs
This commit is contained in:
parent
2c880c65b6
commit
87dde50251
@ -644,9 +644,9 @@ export class GameScene extends DirtyScene {
|
|||||||
for (const [key, videoStream] of peers) {
|
for (const [key, videoStream] of peers) {
|
||||||
this.volumeStoreUnsubscribes.set(key, videoStream.volumeStore.subscribe((volume) => {
|
this.volumeStoreUnsubscribes.set(key, videoStream.volumeStore.subscribe((volume) => {
|
||||||
if (volume) {
|
if (volume) {
|
||||||
console.log(volume);
|
console.log(`${key}: ${volume}`);
|
||||||
this.MapPlayersByKey.get(key)?.showIconTalk(volume > 5);
|
this.MapPlayersByKey.get(key)?.showIconTalk(volume > 5);
|
||||||
this.markDirty();
|
this.markDirty(); // should be dirty from animation
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user