room-creation #15
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ impl FurnitureAsset {
|
|||
) -> Option<TextureHandle> {
|
||||
let mut loaded = ASSETS_LOADED.lock();
|
||||
if loaded.contains(&path) {
|
||||
return None;
|
||||
return Some(texture_id(&path));
|
||||
}
|
||||
let bytes = match fs::read(format!(
|
||||
"{}/assets/furniture/{path}",
|
||||
|
|
Loading…
Reference in a new issue