Changes

m
no edit summary
Line 12: Line 12:     
local function getShipCard(ship, hp, maxHp)
 
local function getShipCard(ship, hp, maxHp)
     local minHp = type(hp) == 'table' and U.imin(hp) or hp
+
     local minHp = type(hp) == 'table' and U.imin(hp) or hp or maxHp
 
     local id = tonumber(ship)
 
     local id = tonumber(ship)
 
     if id then
 
     if id then
cssedit, gkautomate
7,064

edits