mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add setting to disable Content tab update indicator (#14827)
This commit is contained in:
parent
768fd4adee
commit
60f8c02e18
3 changed files with 6 additions and 1 deletions
|
@ -280,7 +280,7 @@ end
|
|||
return {
|
||||
name = "content",
|
||||
caption = function()
|
||||
local update_count = update_detector.get_count()
|
||||
local update_count = core.settings:get_bool("contentdb_enable_updates_indicator") and update_detector.get_count() or 0
|
||||
if update_count == 0 then
|
||||
return fgettext("Content")
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue