Merge pull request #66018 from Mickeon/fix-animated-sprite-outdated-warning

Fix outdated warning in AnimatedSprite2D
This commit is contained in:
Rémi Verschelde 2022-09-18 10:52:58 +02:00
commit 80be221608

View File

@ -458,7 +458,7 @@ TypedArray<String> AnimatedSprite2D::get_configuration_warnings() const {
TypedArray<String> warnings = Node::get_configuration_warnings();
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;