Fix API error

pull/1/head
yflory 2020-11-04 12:24:57 +01:00
parent 4edf74587e
commit b456fee9e9
1 changed files with 2 additions and 2 deletions

View File

@ -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);