• 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
no edit summary
Line 47: Line 47:     
function find(tbl, v_, k_)
 
function find(tbl, v_, k_)
for k, v in pairs(tbl) do
+
for _, v in pairs(tbl) do
if k_ and k == k_ and v == v_ or v == v_ then
+
if k_ and v[k_] == v_ or not k_ and v == v_ then
 
return true
 
return true
 
end
 
end
cssedit, gkautomate
6,928

edits

Navigation menu