Skip to content

Commit

Permalink
fix: bind publish to ARENA.Mqtt
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Aug 25, 2023
1 parent 259c7fc commit 5f73683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/core/arena.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ AFRAME.registerSystem('arena-scene', {
if (ARENA.params.debug) {
ARENAMqttConsole.init({
dbgTopic: `${ARENA.params.realm}/proc/debug/stdout/${ARENA.camName}`,
publish: ARENA.Mqtt.publish,
publish: ARENA.Mqtt.publish.bind(ARENA.Mqtt),
});
}
});
Expand Down

0 comments on commit 5f73683

Please sign in to comment.