This commit is contained in:
gamer147
2026-04-05 21:24:17 -04:00
parent 1973d93b16
commit b485e11a5a
2 changed files with 6 additions and 6 deletions

View File

@@ -98,8 +98,8 @@ func _eval_expression(input: String) -> String:
func _show_result(text: String) -> void:
result_label.text = text
if _result_tween and _result_tween.is_valid():
_result_tween.kill()
_result_tween = create_tween()
_result_tween.tween_interval(2.0)
_result_tween.tween_callback(func(): result_label.text = "")
# if _result_tween and _result_tween.is_valid():
# _result_tween.kill()
# _result_tween = create_tween()
# _result_tween.tween_interval(2.0)
# _result_tween.tween_callback(func(): result_label.text = "")

View File

@@ -14,7 +14,7 @@ func run(args: Array, context: Dictionary) -> String:
var registry: Array = context["scene_registry"]
for entry: Dictionary in registry:
if entry["name"].to_lower() == search_name:
var debug_menu: Node = context["debug_menu"]
var debug_menu: DebugMenu = context["debug_menu"]
debug_menu.swap_scene(entry)
return ""