• 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
Fix layers links not being processed correctly
Line 60: Line 60:  
if ship_layers then
 
if ship_layers then
 
for _, layer in ipairs(ship_layers) do
 
for _, layer in ipairs(ship_layers) do
self:_add_layer(stack, self._battle_card_layers[layer], ship, args)
+
self:_add_layer(stack, self._battle_card_layers[layer], ship, args, link)
 
end
 
end
 
end
 
end
 
if args.flagship then
 
if args.flagship then
self:_add_layer(stack, self._battle_card_layers.flagship, ship, args)
+
self:_add_layer(stack, self._battle_card_layers.flagship, ship, args, link)
 
end
 
end
 
if args.layers then
 
if args.layers then
 
for _, layer in ipairs(split(args.layers)) do
 
for _, layer in ipairs(split(args.layers)) do
 
if self._battle_card_layers[layer] then
 
if self._battle_card_layers[layer] then
self:_add_layer(stack, self._battle_card_layers[layer], ship, args)
+
self:_add_layer(stack, self._battle_card_layers[layer], ship, args, link)
 
end
 
end
 
end
 
end
Anonymous user

Navigation menu