Fix music loop
This commit is contained in:
parent
21bfb97511
commit
74030dae35
3 changed files with 6 additions and 2 deletions
|
@ -25,6 +25,11 @@ GlobalSettings="*res://saves/global_settings.gd"
|
|||
|
||||
window/stretch/mode="viewport"
|
||||
|
||||
[editor]
|
||||
|
||||
version_control/plugin_name="GitPlugin"
|
||||
version_control/autoload_on_startup=true
|
||||
|
||||
[input]
|
||||
|
||||
move_left={
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
stream = ExtResource("1_k2etp")
|
||||
autoplay = true
|
||||
bus = &"Music"
|
||||
parameters/looping = false
|
||||
parameters/looping = true
|
||||
|
|
|
@ -44,7 +44,6 @@ func _physics_process(delta: float) -> void:
|
|||
velocity.y = jump_velocity
|
||||
jump.play()
|
||||
jumpcount = 1
|
||||
health -= 20
|
||||
# Doublejump reset
|
||||
if !Input.is_action_just_pressed("jump") and is_on_floor():
|
||||
jumpcount = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue