Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Calc
(view source)
Revision as of 09:42, 2 November 2021
58 bytes added
,
3 years ago
no edit summary
Line 25:
Line 25:
local equipment = nil
local equipment = nil
local filterArg = {}
local filterArg = {}
+
local sorted = false
-- $('.calc-debug').show().appendTo('#mw-content-text')
-- $('.calc-debug').show().appendTo('#mw-content-text')
Line 436:
Line 437:
end
end
end
end
−
if args.sort and sequence then
+
if args.sort and sequence
and not sorted
then
+
sorted = true
table.sort(sequence, function(a, b)
table.sort(sequence, function(a, b)
local a = Ship(a)
local a = Ship(a)
Line 604:
Line 606:
"~hp_mod_married ~ 1",
"~hp_mod_married ~ 1",
-- "!@",
-- "!@",
−
"?link"
,
+
"?link"
})
})
)
)
がか
cssedit, gkautomate
7,064
edits