|
@@ -3,6 +3,7 @@ extends Control
|
|
|
|
|
|
func reprendre() -> void:
|
|
func reprendre() -> void:
|
|
hide()
|
|
hide()
|
|
|
|
+ AudioServer.set_bus_effect_enabled(2, 1,false)
|
|
get_tree().set_pause(false)
|
|
get_tree().set_pause(false)
|
|
|
|
|
|
|
|
|
|
@@ -11,6 +12,7 @@ func _unhandled_input(event: InputEvent) -> void:
|
|
if get_tree().is_paused():
|
|
if get_tree().is_paused():
|
|
reprendre()
|
|
reprendre()
|
|
else:
|
|
else:
|
|
|
|
+ AudioServer.set_bus_effect_enabled(2, 1, true)
|
|
get_tree().set_pause(true)
|
|
get_tree().set_pause(true)
|
|
show()
|
|
show()
|
|
|
|
|