Fix minigame scene

This commit is contained in:
2026-06-18 21:57:35 +02:00
parent f8d3d19849
commit 3d0ace3691
4 changed files with 12 additions and 10 deletions

View File

@@ -34,4 +34,6 @@ func _on_dialogic_signal(argument: Variant) -> void:
# Tell the minigame where to return
Dialogic.VAR.Gym.minigame_return = "standalone"
await get_tree().create_timer(0.3).timeout
get_tree().change_scene_to_file(MINIGAME_SCENE_PATH)
var ret = get_tree().change_scene_to_file(MINIGAME_SCENE_PATH)
if (ret != OK):
print(ret)