Fix outdated warning in AnimatedSprite2D
This commit is contained in:
parent
24115beb3c
commit
213cc7859e
|
@ -458,7 +458,7 @@ TypedArray<String> AnimatedSprite2D::get_configuration_warnings() const {
|
||||||
TypedArray<String> warnings = Node::get_configuration_warnings();
|
TypedArray<String> warnings = Node::get_configuration_warnings();
|
||||||
|
|
||||||
if (frames.is_null()) {
|
if (frames.is_null()) {
|
||||||
warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Frames\" property in order for AnimatedSprite to display frames."));
|
warnings.push_back(RTR("A SpriteFrames resource must be created or set in the \"Frames\" property in order for AnimatedSprite2D to display frames."));
|
||||||
}
|
}
|
||||||
|
|
||||||
return warnings;
|
return warnings;
|
||||||
|
|
Loading…
Reference in New Issue