From c132d873b172cf8fecdd5155f5e78327a87c4651 Mon Sep 17 00:00:00 2001 From: volzhs Date: Sat, 30 Dec 2017 21:15:17 +0900 Subject: Bind SceneTree::set_quit_on_go_back() to gdscript Fix #15189 --- scene/main/scene_tree.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/main') 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); -- cgit v1.2.3