mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
hotfixy pod 2022.2.2
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user