Fixed averaging interpolating function.

This commit is contained in:
ThePendulum 2020-05-17 03:04:58 +02:00
parent 985ab9d2dc
commit 7f86399033
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function getLongest(items) {
}
function getAverage(items) {
return Math.round(items.reduce((acc, item) => acc + item, 0) / items.length);
return Math.round(items.reduce((acc, item) => acc + item, 0) / items.length) || null;
}
function toBaseActors(actorsOrNames, release) {