1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02: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
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