sfx update
This commit is contained in:
parent
85475ff549
commit
6fc8efd46d
@ -44,7 +44,7 @@ func _on_pause_counter_updated() -> void:
|
|||||||
|
|
||||||
func _set_up_process_mode_by_mode():
|
func _set_up_process_mode_by_mode():
|
||||||
# 如果是 debug panel,则 pause
|
# 如果是 debug panel,则 pause
|
||||||
if mode == "场景背景音" and not SceneManager.pause_counter_arr.has("debugging"):
|
if mode == "场景背景音" and (SceneManager.is_node_ready() and not SceneManager.pause_counter_arr.has("debugging")):
|
||||||
process_mode = Node.PROCESS_MODE_ALWAYS
|
process_mode = Node.PROCESS_MODE_ALWAYS
|
||||||
else:
|
else:
|
||||||
if SceneManager.pause_counter_arr.has("debugging"):
|
if SceneManager.pause_counter_arr.has("debugging"):
|
||||||
|
Loading…
Reference in New Issue
Block a user