1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00

Update Node::get_configuration_warnings signature

This commit is contained in:
RedMser
2023-07-05 15:41:44 +02:00
parent bf37a9bac6
commit d3852deaa4
132 changed files with 217 additions and 213 deletions

View File

@@ -402,8 +402,8 @@ Array ShapeCast2D::_get_collision_result() const {
return ret;
}
PackedStringArray ShapeCast2D::get_configuration_warnings() const {
PackedStringArray warnings = Node2D::get_configuration_warnings();
Array ShapeCast2D::get_configuration_warnings() const {
Array warnings = Node2D::get_configuration_warnings();
if (shape.is_null()) {
warnings.push_back(RTR("This node cannot interact with other objects unless a Shape2D is assigned."));