Hack to make sure the engine always quits no matter what.

This commit is contained in:
Relintai 2022-03-20 10:19:15 +01:00
parent 8cddacf93c
commit 571953c75b

View File

@ -48,6 +48,9 @@ func _process(delta: float) -> void:
if current_run_time > time_to_show && can_be_closed: if current_run_time > time_to_show && can_be_closed:
print("######################## Ending test ########################") print("######################## Ending test ########################")
#hack to make sure the engine always quits no matter what, because doing this will throw an exception
get_tree().quit()
get_tree().quit()
get_tree().quit() get_tree().quit()