Skip to content

Commit

Permalink
actually fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rathoz committed Oct 14, 2024
1 parent c10ed1e commit de23671
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local MatchGroupLegacyDefault = Class.new(MatchGroupLegacy)
---@return table
function MatchGroupLegacyDefault:getMap()
local map = {
['$notEmpty$'] = 'map$1$',
['$notEmpty$'] = 'map$1$winner',
map = 'map$1$',
team1side = 'map$1$team1side',
team2side = 'map$1$team2side',
Expand Down
1 change: 0 additions & 1 deletion components/match2/wikis/dota2/legacy/match_maps_legacy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function MatchMapsLegacy._convertMaps(args)
for key, value in pairs(map) do
args[mapKey .. key] = value
end
args[mapKey] = ''
args[matchKey] = nil
end
return args
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local MatchGroupLegacyDefault = Class.new(MatchGroupLegacy)
---@return table
function MatchGroupLegacyDefault:getMap()
local map = {
['$notEmpty$'] = 'map$1$',
['$notEmpty$'] = 'map$1$winner',
map = 'map$1$',
winner = 'map$1$winner',
length = 'map$1$length',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ function MatchMapsLegacy._handleMaps(args)
args[mapKey .. key] = value
end
args[mapKey .. 'winner'] = Table.extract(args, mapKey .. 'win')
args[mapKey] = ''
args[matchKey] = nil
end
return args
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local MatchGroupLegacyDefault = Class.new(MatchGroupLegacy)
---@return table
function MatchGroupLegacyDefault:getMap()
return {
['$notEmpty$'] = 'map$1$',
['$notEmpty$'] = 'map$1$winner',
map = 'map$1$',
team1side = 'map$1$team1side',
t1c1 = 'map$1$t1c1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ function MatchMapsLegacy.convertMaps(args)
for key, value in pairs(map) do
args[mapKey .. key] = value
end
args[mapKey] = ''
args[matchKey] = nil
end
return args
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local MatchGroupLegacyDefault = Class.new(MatchGroupLegacy)
---@return table
function MatchGroupLegacyDefault:getMap()
return {
['$notEmpty$'] = 'map$1$',
['$notEmpty$'] = 'map$1$winner',
map = 'map$1$',
team1side = 'map$1$team1side',
t1c1 = 'map$1$t1c1',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ function MatchMapsLegacy.convertMaps(args)
args[mapKey .. key] = value
end
args['vodgame' .. matchIndex] = nil
args[mapKey] = ''
args[matchKey] = nil
end
return args
Expand Down

0 comments on commit de23671

Please sign in to comment.