mirror of
https://github.com/Relintai/regression-test-project.git
synced 2024-11-14 10:27:53 +01:00
Hack to make sure the engine always quits no matter what.
This commit is contained in:
parent
8cddacf93c
commit
571953c75b
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user