Skip to content

Commit

Permalink
Revert to default arena-console on for prod env
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Aug 25, 2023
1 parent 5f73683 commit 10e8007
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 @@ -32,7 +32,7 @@ AFRAME.registerSystem('arena-scene', {
this.initRuntimeMngr.bind(this);

// replace console with our logging
if (ARENA.params.debug) {
if (!ARENA.defaults.devInstance || ARENA.params.debug) {
ARENAMqttConsole.init({
dbgTopic: `${ARENA.params.realm}/proc/debug/stdout/${ARENA.camName}`,
publish: ARENA.Mqtt.publish.bind(ARENA.Mqtt),
Expand Down

0 comments on commit 10e8007

Please sign in to comment.