• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
Don't assume artillery spotting is impossible when total_space is nil
Line 387: Line 387:  
function ShipCapabilities:artillery_spotting(post_cap_attack_power)
 
function ShipCapabilities:artillery_spotting(post_cap_attack_power)
 
local total_space = self._ship:total_space()
 
local total_space = self._ship:total_space()
if not total_space or total_space <= 0 then
+
if total_space ~= nil and total_space <= 0 then
 
return false
 
return false
 
end
 
end
Anonymous user

Navigation menu