From 9e677dcc116aa06debd3e9188830f15f79d2bdbe Mon Sep 17 00:00:00 2001 From: tpart Date: Sat, 27 Jul 2024 14:02:21 +0200 Subject: Combine world environment code into single scene --- client/map/environment.gd | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/map/environment.gd') diff --git a/client/map/environment.gd b/client/map/environment.gd index abe8ed6c..5fcfc53d 100644 --- a/client/map/environment.gd +++ b/client/map/environment.gd @@ -1,6 +1,8 @@ extends Node3D func update(active: Array): + if active.has("night"): + pass $Wind.emitting = active.has("wind") var a: ParticleProcessMaterial = $Wind.process_material -- cgit v1.2.3-70-g09d2