Skip to content

Commit

Permalink
break line
Browse files Browse the repository at this point in the history
  • Loading branch information
hjpalpha committed Nov 19, 2024
1 parent 9459d85 commit 56533d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/match2/wikis/starcraft/match_legacy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ function MatchLegacy._storeGames(match, match2)
submatch.opponent1score = scores[1] or 0
submatch.opponent2score = scores[2] or 0
submatch.extradata = {}
local playerdata = Table.mapValues(Json.parseIfString(game.participants or '{}') or game.participants, Logic.nilIfEmpty)
local playerdata = Table.mapValues(Json.parseIfString(game.participants or '{}') or game.participants,
Logic.nilIfEmpty)
for key, item in pairs(playerdata) do
local keyArray = mw.text.split(key or '', '_')
local l = tonumber(keyArray[2])
Expand Down

0 comments on commit 56533d2

Please sign in to comment.