diff --git a/.vs/AAWeb/v15/.suo b/.vs/AAWeb/v15/.suo index f51966831..4fe01fa44 100644 Binary files a/.vs/AAWeb/v15/.suo and b/.vs/AAWeb/v15/.suo differ diff --git a/TimelineChart.js b/TimelineChart.js index 8e9d27e6a..0f452c5e3 100644 --- a/TimelineChart.js +++ b/TimelineChart.js @@ -177,6 +177,17 @@ plotter.container.frame.position.x = thisObject.container.frame.width / 2 - plotter.container.frame.width / 2; plotter.container.frame.position.y = thisObject.container.frame.height / 2 - plotter.container.frame.height / 2; + /* We add the profile picture of each participant, because the plotter will need it. */ + + for (let k = 0; k < competition.participants.length; k++) { + + let participant = competition.participants[k]; + let devTeam = ecosystem.getTeam(participant.devTeam); + let bot = ecosystem.getBot(devTeam, participant.bot); + participant.profilePicture = bot.profilePicture; + + } + plotter.initialize(competition, storage, datetime, timePeriod, onPlotterInizialized); function onPlotterInizialized(err) { diff --git a/server.js b/server.js index e65a7925a..e5f2aa0df 100644 --- a/server.js +++ b/server.js @@ -6,7 +6,7 @@ if (CONSOLE_LOG === true) { } -const DEBUG_MODE = false; // This forces the server to read Plotters from the local drive. +const DEBUG_MODE = true; // This forces the server to read Plotters from the local drive. if (CONSOLE_LOG === true && DEBUG_MODE === true) {