• 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
no edit summary
Line 138: Line 138:  
     local formatting_function = formatting_functions[key]
 
     local formatting_function = formatting_functions[key]
 
     if formatting_function then
 
     if formatting_function then
         return formatting_function(ship, target)
+
         if ship then
 +
            return formatting_function(ship, target)
 +
        else
 +
            return formatting_function(ship, target)
 +
        end
 
     else
 
     else
 
         if shipCapabilities[key] then
 
         if shipCapabilities[key] then
Line 171: Line 175:  
         env[c] = env[c] or require("Module:" .. c)
 
         env[c] = env[c] or require("Module:" .. c)
 
         env[k] = env[c](v)
 
         env[k] = env[c](v)
 +
        if k == "_" and not ship then
 +
            ship = env[k]
 +
        end
 
         return true
 
         return true
 
     elseif k and v then
 
     elseif k and v then
cssedit, gkautomate
7,064

edits

Navigation menu