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

This commit is contained in:
Duncan Brown
2022-04-09 10:13:09 -04:00
committed by GitHub
parent fda97352a0
commit baee79f5a0
7 changed files with 43 additions and 22 deletions

View File

@@ -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'])