feat: reports source of ESC errors when possible (#568)

This commit is contained in:
Duncan Brown authored and GitHub committed 2022-04-09 16:13:09 +02:00
1 parent fda97352a0
commit baee79f5a0
7 files changed
+43 -22

No files matched your search

@@ -63,7 +63,9 @@ func _on_button_pressed():
var script = escoria.esc_compiler.compile([
":room_selector",
"change_scene %s" % _options_paths[_selected_id]
])
],
get_class()
)
escoria.event_manager.interrupt_running_event()
escoria.event_manager.clear_event_queue()
escoria.event_manager.queue_event(script.events['room_selector'])