hotfixy pod 2022.2.2

This commit is contained in:
2023-03-01 23:53:49 +01:00
parent d7341ab047
commit 7627085704
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export function carDataList(state: IStore) {
}
export function totalMass(state: IStore) {
return state.stockList.reduce(
return ~~state.stockList.reduce(
(acc, stock) => acc + (stock.cargo ? stock.cargo.totalMass : stock.mass) * stock.count,
0
);