aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/game.gd b/client/game.gd
index ab2cdfbd..76ea21f0 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -32,7 +32,13 @@ var item_idx_from_name: Dictionary = {}
var tile_by_pos: Dictionary = {}
var players := {}
+
+@onready var environment = $WorldEnvironment
+
func _ready():
+ if !Global.on_vulkan():
+ environment.environment.tonemap_exposure = 0.5
+
mp.connection_closed.connect(func(reason: String):
Global.error_message = reason;
$SceneTransition.instant_to("res://menu/error_menu.tscn")