X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/modules/LifeSupport.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ local function LifeSupportCallback(self)
---@type CargoManager
local cargoMgr = self:GetComponent('CargoManager')

local commodityName = cargoMgr:DoLifeSupportChecks(self.cargo_bay_life_support_cap or 0)
local commodityName = cargoMgr:DoLifeSupportChecks(self.cargo_life_support_cap or 0)
if commodityName then
cargoMgr:RemoveCommodity(Commodities[commodityName], 1)

Expand Down
2 changes: 1 addition & 1 deletion src/Ship.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ void Ship::UpdateEquipStats()
m_stats.atmo_shield_cap = p.Get("atmo_shield_cap");
m_stats.radar_cap = p.Get("radar_cap");
m_stats.fuel_scoop_cap = p.Get("fuel_scoop_cap");
m_stats.cargo_bay_life_support_cap = p.Get("cargo_life_support_cap");
m_stats.cargo_life_support_cap = p.Get("cargo_life_support_cap");
m_stats.hull_autorepair_cap = p.Get("hull_autorepair_cap");
}

Expand Down
2 changes: 1 addition & 1 deletion src/Ship.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct shipstats_t {
int atmo_shield_cap;
int radar_cap;
int fuel_scoop_cap;
int cargo_bay_life_support_cap;
int cargo_life_support_cap;
int hull_autorepair_cap;
};

Expand Down
X Tutup