From e062014eb1428fb34264dda865018acbcf1bdbe0 Mon Sep 17 00:00:00 2001 From: Nuno Pereira Date: Tue, 19 Apr 2022 10:03:39 +0000 Subject: [PATCH] fix: runtime name uses idTag --- src/arena.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arena.js b/src/arena.js index 661680576..52845caf3 100644 --- a/src/arena.js +++ b/src/arena.js @@ -629,7 +629,7 @@ export class Arena { onInitCallback: function() { console.info('Runtime init done.'); }, - name: 'rt-' + Math.round(Math.random() * 10000) + '-' + this.idTag, + name: `rt-${this.idTag}`, mqttUsername: this.username, mqttToken: this.mqttToken, });