-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(match2) Add map points input to Halo #4793
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Rikard Blixt <[email protected]>
local getScoreValue = function(opponentIndex) | ||
local score = game.scores[opponentIndex] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
local getScoreValue = function(opponentIndex) | |
local score = game.scores[opponentIndex] | |
local displayScore = function(opponentIndex) | |
local score = DisplayHelper.MapScore(game.scores[opponentIndex], opponentIndex, game.resultType, game.walkover, game.winner) |
:node(DisplayHelper.MapScore( | ||
getScoreValue(1), | ||
1, game.resultType, game.walkover, game.winner | ||
)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:node(DisplayHelper.MapScore( | |
getScoreValue(1), | |
1, game.resultType, game.walkover, game.winner | |
)) | |
:node(displayScore(1)) |
:node(DisplayHelper.MapScore( | ||
getScoreValue(2), | ||
2, game.resultType, game.walkover, game.winner | ||
)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:node(DisplayHelper.MapScore( | |
getScoreValue(2), | |
2, game.resultType, game.walkover, game.winner | |
)) | |
:node(displayScore(2)) |
if not score then | ||
return | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not score then | |
return | |
end |
Not needed with the other changes
Summary
Allows input of
{{Map| ... |points1=|points2=}}
to be concatenated in output.Requested on discord
How did you test this change?
dev