pneumatics bugfix
This commit is contained in:
parent
650d9fdb3f
commit
5f9acbc3fb
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ var master_pneu = func {
|
||||||
if ((bleed1 + bleed2 + bleedapu) > 42) {
|
if ((bleed1 + bleed2 + bleedapu) > 42) {
|
||||||
setprop("/systems/pneumatic/total-psi", 42);
|
setprop("/systems/pneumatic/total-psi", 42);
|
||||||
} else {
|
} else {
|
||||||
var total_psi_calc = ((bleed1 + bleed2 + bleedapu) - start_psi - pack_psi);
|
var total_psi_calc = ((bleed1 + bleed2 + bleedapu + ground) - start_psi - pack_psi);
|
||||||
setprop("/systems/pneumatic/total-psi", total_psi_calc);
|
setprop("/systems/pneumatic/total-psi", total_psi_calc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue