Add flicker to jetpack light

remotes/1705725415861086127/tmp_refs/heads/main
unfa 2021-09-25 00:29:54 +02:00
parent c8bc8952fa
commit 37857563e4
1 changed files with 1 additions and 0 deletions

View File

@ -196,6 +196,7 @@ func _process(delta):
if jetpack_active:
$Jetpack/JetpackSound.stream_paused = false
$Jetpack/OmniLight3D.show()
$Jetpack/OmniLight3D.light_energy = randf_range(2, 5)
else:
$Jetpack/JetpackSound.stream_paused = true
$Jetpack/OmniLight3D.hide()