-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding script for godot's initial import
This is apparently required to run gut tests in CI, and also is deemed to small a work-around to include in gut itself. bitwes/Gut#301 I must be doing something wrong!
- Loading branch information
1 parent
524e7e4
commit cf04520
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@tool | ||
extends SceneTree | ||
|
||
var delay = 0.0 | ||
var max_delay = 15.0 | ||
|
||
func _process(delta): | ||
delay += delta | ||
|
||
if delay > max_delay: | ||
push_warning("Initial import complete, exiting") | ||
# OS.set_exit_code(0) | ||
quit() |