1
0
Fork 0
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:
rubenwardy 2024-07-22 15:35:47 +01:00 committed by GitHub
parent 768fd4adee
commit 60f8c02e18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View file

@ -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