Changes

no edit summary
Line 396: Line 396:  
end
 
end
 
if self:_is_submarine() then
 
if self:_is_submarine() then
if self:level() >= 10 then
+
local level = self:level()
 +
if level and level >= 10 then
 
opening_torpedo = true
 
opening_torpedo = true
 
end
 
end
Anonymous user