Skip to content

Commit

Permalink
Fix incorrect dV calculations in ship market
Browse files Browse the repository at this point in the history
  • Loading branch information
sturnclaw committed Nov 16, 2024
1 parent 2bd29c3 commit bd1e241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/pigui/modules/station-view/04-shipMarket.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit bd1e241

Please sign in to comment.