fix: opt get sprites error

This commit is contained in:
cptbtptpbcptdtptp
2026-04-22 21:28:56 +08:00
parent 60e963728a
commit dcae1d7847

View File

@@ -45,7 +45,7 @@ export class SpriteAtlas extends ReferResource {
sprite.name === name && outSprites.push(sprite);
}
} else {
console.warn("The name of the sprite you want to find is not exit in SpriteAtlas.");
console.warn("There is no sprite named " + name + " in the atlas.");
}
return outSprites;
}