summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-03 12:14:16 +0100
committerGitHub <noreply@github.com>2018-01-03 12:14:16 +0100
commitffd6838704baaa4dac3b260a550946f43d925f7c (patch)
tree91979e4c678616a3db9b0d6442622b6273c3e2db /scene/main
parent361ade53aada8b1ee02297bb4aeeec36266d20c7 (diff)
parentc132d873b172cf8fecdd5155f5e78327a87c4651 (diff)
Merge pull request #15192 from volzhs/expose-quit-on-go-back
Bind SceneTree::set_quit_on_go_back() to gdscript
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/scene_tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp
index 07f93fa52b..632d912e43 100644
--- a/scene/main/scene_tree.cpp
+++ b/scene/main/scene_tree.cpp
@@ -2126,6 +2126,7 @@ void SceneTree::_bind_methods() {
ClassDB::bind_method(D_METHOD("has_group", "name"), &SceneTree::has_group);
ClassDB::bind_method(D_METHOD("set_auto_accept_quit", "enabled"), &SceneTree::set_auto_accept_quit);
+ ClassDB::bind_method(D_METHOD("set_quit_on_go_back", "enabled"), &SceneTree::set_quit_on_go_back);
ClassDB::bind_method(D_METHOD("set_debug_collisions_hint", "enable"), &SceneTree::set_debug_collisions_hint);
ClassDB::bind_method(D_METHOD("is_debugging_collisions_hint"), &SceneTree::is_debugging_collisions_hint);