|
|
|
@ -18,6 +18,19 @@ onready var ProfilesContainer = find_node("ProfilesContainer", true)
|
|
|
|
|
var provider:MajorityJudgmentAbstractJudgmentsProvider
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _input(_event):
|
|
|
|
|
if Input.is_action_just_pressed("ui_cancel"):
|
|
|
|
|
exit_poll()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func exit_poll():
|
|
|
|
|
# Check if we want to save or discard?
|
|
|
|
|
# …
|
|
|
|
|
# Close things up
|
|
|
|
|
# stop_providers()
|
|
|
|
|
App.go_to_main_menu()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func get_poll() -> MajorityJudgmentPoll:
|
|
|
|
|
return poll
|
|
|
|
|
|
|
|
|
|