aboutsummaryrefslogtreecommitdiff
path: root/client/gui/overlays/debug.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-22 23:13:58 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-22 23:14:21 +0200
commitfed8a4f8cd2adc9191211f74f284f93eb8f1ac53 (patch)
tree27a2db9896c112fb903b38f0cf2392b676d2270a /client/gui/overlays/debug.gd
parentaba816f923b8bcd33d53eabd93b01c6e85f4dc75 (diff)
downloadhurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar
hurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar.bz2
hurrycurry-fed8a4f8cd2adc9191211f74f284f93eb8f1ac53.tar.zst
Disable setting reset if default; refactor setting hook system (fix #379)
Diffstat (limited to 'client/gui/overlays/debug.gd')
-rw-r--r--client/gui/overlays/debug.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gui/overlays/debug.gd b/client/gui/overlays/debug.gd
index 003672c4..3a37a1b7 100644
--- a/client/gui/overlays/debug.gd
+++ b/client/gui/overlays/debug.gd
@@ -16,7 +16,7 @@
extends RichTextLabel
func _ready():
- Settings.hook_changed_init("graphics.debug_info", false, func (v):
+ Settings.hook_changed_init("graphics.debug_info", "main", func (v):
visible = v
RenderingServer.viewport_set_measure_render_time(get_viewport().get_viewport_rid(), visible)
)