Changes

no edit summary
Line 189: Line 189:     
function ShipData:total_space()
 
function ShipData:total_space()
local total_space, space
+
local total_space = 0
 +
local space
 
for _, v in ipairs(self._equipment) do
 
for _, v in ipairs(self._equipment) do
 
space = v["space"]
 
space = v["space"]
Anonymous user