1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-09-20 17:18:50 +00:00

Minor missing texture rewording (#190)

* Minor missing texture rewording

* ababa

---------

Co-authored-by: Daedliy <missari.bb@gmail.com>
This commit is contained in:
Daedliy 2023-01-29 14:40:42 -03:00 committed by GitHub
parent 515a0a7fe7
commit 6d3c127912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -528,7 +528,7 @@ impl TextureSet {
) -> GameResult<Box<dyn SpriteBatch>> { ) -> GameResult<Box<dyn SpriteBatch>> {
let path = self let path = self
.find_texture(ctx, &constants.base_paths, name) .find_texture(ctx, &constants.base_paths, name)
.ok_or_else(|| GameError::ResourceLoadError(format!("Texture {} does not exist.", name)))?; .ok_or_else(|| GameError::ResourceLoadError(format!("Texture \"{}\" is missing.", name)))?;
let glow_path = self.find_texture(ctx, &constants.base_paths, &[name, ".glow"].join("")); let glow_path = self.find_texture(ctx, &constants.base_paths, &[name, ".glow"].join(""));