You've already forked godot
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:
@@ -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."));
|
||||
|
||||
Reference in New Issue
Block a user