diff options
author | kobewi <kobewi4e@gmail.com> | 2022-11-08 19:53:22 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-12-11 21:36:48 +0100 |
commit | 7c6b659bd799080ca3a84110b112313a8cd12b1f (patch) | |
tree | 200036957075d148064c2bc3441b3bb4679614ae /servers/physics_server_2d.cpp | |
parent | 05097ded0a915cd6c083f15dab08da2bdc0770b8 (diff) | |
download | redot-engine-7c6b659bd799080ca3a84110b112313a8cd12b1f.tar.gz |
Add PropertyInfo overload for GLOBAL_DEF
Diffstat (limited to 'servers/physics_server_2d.cpp')
-rw-r--r-- | servers/physics_server_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_server_2d.cpp b/servers/physics_server_2d.cpp index c5a93cc390..fb50e84fd8 100644 --- a/servers/physics_server_2d.cpp +++ b/servers/physics_server_2d.cpp @@ -887,7 +887,7 @@ void PhysicsServer2DManager::on_servers_changed() { for (int i = get_servers_count() - 1; 0 <= i; --i) { physics_servers += "," + get_server_name(i); } - ProjectSettings::get_singleton()->set_custom_property_info(setting_property_name, PropertyInfo(Variant::STRING, setting_property_name, PROPERTY_HINT_ENUM, physics_servers)); + ProjectSettings::get_singleton()->set_custom_property_info(PropertyInfo(Variant::STRING, setting_property_name, PROPERTY_HINT_ENUM, physics_servers)); } void PhysicsServer2DManager::_bind_methods() { |