aboutsummaryrefslogtreecommitdiff
path: root/client/map
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-19 15:21:10 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-19 15:21:10 +0200
commit0ce733f60b7c0eda126a33451ca34e5182e0ceda (patch)
tree7264a46c5969019d6fe3f401ecb53721fef34c59 /client/map
parent5a02c0f163f2fbf43a7d6348aedf33c6c52f99a5 (diff)
parentad4813d269775a37f04a7fb28e68eb61076df624 (diff)
downloadhurrycurry-0ce733f60b7c0eda126a33451ca34e5182e0ceda.tar
hurrycurry-0ce733f60b7c0eda126a33451ca34e5182e0ceda.tar.bz2
hurrycurry-0ce733f60b7c0eda126a33451ca34e5182e0ceda.tar.zst
Merge branch 'master' of codeberg.org:hurrycurry/hurrycurry
Diffstat (limited to 'client/map')
-rw-r--r--client/map/environment/environment.gd2
-rw-r--r--client/map/progress.gd1
2 files changed, 1 insertions, 2 deletions
diff --git a/client/map/environment/environment.gd b/client/map/environment/environment.gd
index fd002406..35f69be6 100644
--- a/client/map/environment/environment.gd
+++ b/client/map/environment/environment.gd
@@ -20,7 +20,7 @@ func update(active: Array):
# TODO ramp
rain.emitting = active.has("rain")
- rain.amount = 500 if active.has("rain") else 0
+ # TODO: Allow server to specify rain.amount
func set_sky(sky_name: String):
world_environment.set_sky(sky_name)
diff --git a/client/map/progress.gd b/client/map/progress.gd
index 52415b95..94670651 100644
--- a/client/map/progress.gd
+++ b/client/map/progress.gd
@@ -21,4 +21,3 @@ func set_progress(progress: float, bad: bool):
var mat: ShaderMaterial = self.get_active_material(0)
mat.set_shader_parameter("progress", progress)
mat.set_shader_parameter("bad", bad)
-