Skip to content

Commit

Permalink
Limit to allies only
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Jan 21, 2024
1 parent 089d0c6 commit 60c0b26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lua/options/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ options = {
states = {
{ text = "<LOC _On>", key = 'on' },
{ text = "<LOC options_show_player_names_allies_only>Allies only", key = 'allies-only' },
{ text = "<LOC _Off>Allies only", key = 'off' },
-- { text = "<LOC _Off>", key = 'off' },
},
},
},
Expand Down
8 changes: 4 additions & 4 deletions lua/ui/game/score.lua
Original file line number Diff line number Diff line change
Expand Up @@ -635,10 +635,10 @@ function _OnBeat()
for index, scoreData in currentScores do
for _, line in controls.armyLines do
if line.armyID == index then
-- if scoreData.name then
-- line.name:SetText(scoreData.name)
-- updatePlayerName(line)
-- end
if scoreData.name then
line.name:SetText(scoreData.name)
updatePlayerName(line)
end
if scoreData.general.score >= 0 then
line.score:SetText(fmtnum(scoreData.general.score))
end
Expand Down

0 comments on commit 60c0b26

Please sign in to comment.