From bd1e2418fc608dcae16102d3419c17f970833c01 Mon Sep 17 00:00:00 2001 From: Webster Sheets Date: Sat, 16 Nov 2024 16:21:48 -0500 Subject: [PATCH] Fix incorrect dV calculations in ship market --- data/pigui/modules/station-view/04-shipMarket.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/pigui/modules/station-view/04-shipMarket.lua b/data/pigui/modules/station-view/04-shipMarket.lua index 2f40ec1d5e..455fc6e9c5 100644 --- a/data/pigui/modules/station-view/04-shipMarket.lua +++ b/data/pigui/modules/station-view/04-shipMarket.lua @@ -268,7 +268,7 @@ function FormatAndCompareShips:draw_accel_cell(desc, thrustKey, massKey ) end function FormatAndCompareShips:draw_deltav_cell(desc, massNumeratorKey, massDenominatorKey) - local deltavA = self.def.effectiveExhaustVelocity * math.log( self:get_value(massNumeratorKey) / self.b:get_value(massDenominatorKey) ) + local deltavA = self.def.effectiveExhaustVelocity * math.log( self:get_value(massNumeratorKey) / self:get_value(massDenominatorKey) ) local deltavB = self.b.def.effectiveExhaustVelocity * math.log( self.b:get_value(massNumeratorKey) / self.b:get_value(massDenominatorKey) ) local function fmt( v )