From 5f9acbc3fb68c11a8a8a9861c6f2517fa7e05c46 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Thu, 18 May 2017 15:04:29 +0100 Subject: [PATCH] pneumatics bugfix --- Nasal/pneumatics.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/pneumatics.nas b/Nasal/pneumatics.nas index 0c594473..0e6f8863 100644 --- a/Nasal/pneumatics.nas +++ b/Nasal/pneumatics.nas @@ -112,7 +112,7 @@ var master_pneu = func { if ((bleed1 + bleed2 + bleedapu) > 42) { setprop("/systems/pneumatic/total-psi", 42); } 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); }