Skip to content

Commit

Permalink
Do not display more than 10 HUD entries
Browse files Browse the repository at this point in the history
  • Loading branch information
MoNTE48 committed May 19, 2024
1 parent 8de4fbc commit 7a48308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ local function updateHud(player, name, pos)
-- tinsert(areaStrings, S("Areas:"))
for id, area in pairs(getAreasAtPos) do
tinsert(areaStrings, createAreaString(area, id))
if #areaStrings == 10 then break end
end
end

Expand Down

0 comments on commit 7a48308

Please sign in to comment.