Syntax fix
This commit is contained in:
parent
0268359eef
commit
9cda1d3434
1 changed files with 2 additions and 2 deletions
|
@ -86,9 +86,9 @@
|
||||||
return volume;
|
return volume;
|
||||||
})
|
})
|
||||||
|
|
||||||
let maxWeight = derived.by(totalThrust / (gravity * 9.81))
|
let maxWeight = derived(totalThrust / (gravity * 9.81))
|
||||||
|
|
||||||
let maxCargoWeight = $derived.by(maxWeight -= totalVolume * weightPerVolume)
|
let maxCargoWeight = $derived(maxWeight -= totalVolume * weightPerVolume)
|
||||||
|
|
||||||
function weightConversion(weight: number): string {
|
function weightConversion(weight: number): string {
|
||||||
if (weight > 1000) {
|
if (weight > 1000) {
|
||||||
|
|
Loading…
Reference in a new issue