summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorvolzhs <volzhs@gmail.com>2017-12-30 21:15:17 +0900
committervolzhs <volzhs@gmail.com>2017-12-30 21:15:17 +0900
commitc132d873b172cf8fecdd5155f5e78327a87c4651 (patch)
tree7ce8b8ceb09beb9b7ca5f1bd3df23ffa99bc5fce /scene/main
parent7f1265b41fc52def42c433e5d324070bc6454d6b (diff)
Bind SceneTree::set_quit_on_go_back() to gdscript
Fix #15189
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 db39b37bd5..a43ccfddda 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);