aboutsummaryrefslogtreecommitdiff
path: root/client/map/auto_setup
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-26 18:27:18 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-26 18:27:22 +0200
commit9c7673253f7dcc50d761345c3fdcd0d6d3654f3e (patch)
tree4a2c8c036f16e97c22767303a20d5be34635ef70 /client/map/auto_setup
parenteb6527dec240c94d8cd27573c96c83cea2618cb3 (diff)
downloadhurrycurry-9c7673253f7dcc50d761345c3fdcd0d6d3654f3e.tar
hurrycurry-9c7673253f7dcc50d761345c3fdcd0d6d3654f3e.tar.bz2
hurrycurry-9c7673253f7dcc50d761345c3fdcd0d6d3654f3e.tar.zst
add draft weather/environment system
Diffstat (limited to 'client/map/auto_setup')
-rw-r--r--client/map/auto_setup/environment_setup.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/map/auto_setup/environment_setup.gd b/client/map/auto_setup/environment_setup.gd
index 96feb86b..75dc900f 100644
--- a/client/map/auto_setup/environment_setup.gd
+++ b/client/map/auto_setup/environment_setup.gd
@@ -14,7 +14,7 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
extends WorldEnvironment
-class_name EnvironmentSetup
+class_name EnvironmentSetup
@export var allow_sdfgi := true
@@ -26,3 +26,4 @@ func apply_settings():
environment.ssao_enabled = Global.get_setting("ssao")
environment.sdfgi_enabled = Global.get_setting("sdfgi") and allow_sdfgi
environment.glow_enabled = Global.get_setting("glow")
+