diff --git a/components/match2/commons/match_subobjects.lua b/components/match2/commons/match_subobjects.lua index 9a4427190b6..b0783b4ca7d 100644 --- a/components/match2/commons/match_subobjects.lua +++ b/components/match2/commons/match_subobjects.lua @@ -29,9 +29,8 @@ function MatchSubobjects.luaGetMap(args) -- dont save map if 'map' is not filled in if Logic.isEmpty(args.map) then return nil - else - return args end + return args end if FeatureFlag.get('perf') then diff --git a/components/match2/wikis/criticalops/match_group_input_custom.lua b/components/match2/wikis/criticalops/match_group_input_custom.lua index d0e93f06496..59ac2e1917f 100644 --- a/components/match2/wikis/criticalops/match_group_input_custom.lua +++ b/components/match2/wikis/criticalops/match_group_input_custom.lua @@ -7,7 +7,6 @@ -- local Array = require('Module:Array') -local FnUtil = require('Module:FnUtil') local Logic = require('Module:Logic') local Lua = require('Module:Lua') local MathUtil = require('Module:MathUtil')