diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-19 15:33:11 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-19 15:33:11 +0200 |
commit | 4ebf7d14ac5e9b0c6c86535cb7bb5e428f00542a (patch) | |
tree | 52a053b10f8ad086e62382bde7fa60f80b962ca6 /core/config | |
parent | 1445b052b44f291844613c8ec5c628e2225e7c2a (diff) | |
parent | 2a8aeddc93db662e765e372646595c2e21b5be3d (diff) |
Merge pull request #66079 from Zylann/project_settings_restart
Expose ProjectSettings.set_restart_if_changed(name, restart)
Diffstat (limited to 'core/config')
-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); |