From b456fee9e9beb5285055b979d01deb2e9e6099c3 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 4 Nov 2020 12:24:57 +0100 Subject: [PATCH] Fix API error --- www/teams/inner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/teams/inner.js b/www/teams/inner.js index 05f823e2d..070d11825 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -1470,8 +1470,8 @@ define([ UIElements.reconnectAlert(); }; - sframeChan.on('EV_DRIVE_LOG', function (data) { - UI.log(data.msg); + sframeChan.on('EV_DRIVE_LOG', function (msg) { + UI.log(msg); }); sframeChan.on('EV_NETWORK_DISCONNECT', function (teamId) { onDisconnect(teamId);