Fix API error

This commit is contained in:
yflory 2020-11-04 12:24:57 +01:00
parent 4edf74587e
commit b456fee9e9

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