diff --git a/data/pigui/modules/station-view/01-lobby.lua b/data/pigui/modules/station-view/01-lobby.lua index ef2d0b936bf..22eeb69b9f8 100644 --- a/data/pigui/modules/station-view/01-lobby.lua +++ b/data/pigui/modules/station-view/01-lobby.lua @@ -129,7 +129,7 @@ local refuelInternalTank = function (delta) Game.player:AddMoney(-total) local commodityChangeAmount = mass < 0 and math.floor(mass) or math.ceil(mass) - station:AddCommodityStock(Commodities.hydrogen, commodityChangeAmount) + station:AddCommodityStock(Commodities.hydrogen, -commodityChangeAmount) Game.player:SetFuelPercent(fuel) end