aboutsummaryrefslogtreecommitdiff
path: root/client/map/auto_setup/light_setup.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/map/auto_setup/light_setup.gd')
-rw-r--r--client/map/auto_setup/light_setup.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/map/auto_setup/light_setup.gd b/client/map/auto_setup/light_setup.gd
index 0d71f54b..3056998e 100644
--- a/client/map/auto_setup/light_setup.gd
+++ b/client/map/auto_setup/light_setup.gd
@@ -1,5 +1,5 @@
# Hurry Curry! - a game about cooking
-# Copyright (C) 2025 Hurry Curry! contributors
+# Copyright (C) 2026 Hurry Curry! Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
@@ -20,7 +20,7 @@ class_name LightSetup
var shadows_enabled: bool
func _ready():
- Settings.hook_changed_init("graphics.shadows", "main", apply_settings)
+ Settings.hook_changed_init("graphics.shadows", self, apply_settings)
func set_visible_(val: bool):
if completely_disable_light_if_shadows_disabled and not shadows_enabled: