summaryrefslogtreecommitdiffstats
path: root/servers/physics_server_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_server_3d.cpp')
-rw-r--r--servers/physics_server_3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_server_3d.cpp b/servers/physics_server_3d.cpp
index 34c364d960..6b8d3d1af6 100644
--- a/servers/physics_server_3d.cpp
+++ b/servers/physics_server_3d.cpp
@@ -1079,6 +1079,7 @@ void PhysicsServer3DManager::on_servers_changed() {
physics_servers2 += "," + get_server_name(i);
}
ProjectSettings::get_singleton()->set_custom_property_info(PropertyInfo(Variant::STRING, setting_property_name, PROPERTY_HINT_ENUM, physics_servers2));
+ ProjectSettings::get_singleton()->set_restart_if_changed(setting_property_name, true);
}
void PhysicsServer3DManager::_bind_methods() {