aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-27 17:53:35 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-27 17:53:35 +0200
commit5011f5cb98020c7ddcabe2507b76c7656a1cee8b (patch)
tree0adcf109a5dd2426506e5450a6b5ab9eebcea705 /client/game.gd
parentb6713492c6f571ba9897532f129924f438909a07 (diff)
parentb284e05536ea0f7dcfc294c02f803386f373a3cf (diff)
downloadhurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar
hurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar.bz2
hurrycurry-5011f5cb98020c7ddcabe2507b76c7656a1cee8b.tar.zst
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/game.gd b/client/game.gd
index 756ff978..abb04bc6 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -38,7 +38,9 @@ var players := {}
func _ready():
if !Global.on_vulkan():
environment.environment.tonemap_exposure = 0.5
-
+
+ environment.environment.sdfgi_enabled = Global.settings["sdfgi"]["value"]
+
mp.connection_closed.connect(func(reason: String):
Global.error_message = reason;
$SceneTransition.instant_to("res://menu/error_menu.tscn")