Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Removing the player id from forwarded messages when they're sent to t…
Browse files Browse the repository at this point in the history
…he player. Some pixel streaming functionality was basing conditions off whether the player id field was existing or not (#91)
  • Loading branch information
mcottontensor committed Feb 14, 2023
1 parent 4fc43bc commit b659a5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SignallingWebServer/cirrus.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ function forwardStreamerMessageToPlayer(streamer, msg) {
const player = players.get(playerId);
if (player) {
logForward(streamer.id, playerId, msg);
delete msg.playerId;
player.sendTo(msg);
}
}
Expand Down

0 comments on commit b659a5d

Please sign in to comment.