瀏覽代碼

Fix outdated warning in AnimatedSprite2D

Micky 3 年之前
父節點
當前提交
213cc7859e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scene/2d/animated_sprite_2d.cpp

+ 1 - 1
scene/2d/animated_sprite_2d.cpp

@@ -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;