diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-18 23:31:48 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-19 13:57:07 +0100 |
commit | 2a8aeddc93db662e765e372646595c2e21b5be3d (patch) | |
tree | 812287dcf744019f2c78e04465880c7d104e1ede /core | |
parent | 200b9cde88da485659a6376266af8e9bf7be186f (diff) |
Expose ProjectSettings.set_restart_if_changed(name, restart)
Diffstat (limited to 'core')
-rw-r--r-- | core/config/project_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index 6275502378..d03337cfa0 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1139,6 +1139,7 @@ void ProjectSettings::_bind_methods() { ClassDB::bind_method(D_METHOD("get_order", "name"), &ProjectSettings::get_order); ClassDB::bind_method(D_METHOD("set_initial_value", "name", "value"), &ProjectSettings::set_initial_value); ClassDB::bind_method(D_METHOD("add_property_info", "hint"), &ProjectSettings::_add_property_info_bind); + ClassDB::bind_method(D_METHOD("set_restart_if_changed", "name", "restart"), &ProjectSettings::set_restart_if_changed); ClassDB::bind_method(D_METHOD("clear", "name"), &ProjectSettings::clear); ClassDB::bind_method(D_METHOD("localize_path", "path"), &ProjectSettings::localize_path); ClassDB::bind_method(D_METHOD("globalize_path", "path"), &ProjectSettings::globalize_path); |