Implement texture atlas building

This commit is contained in:
crumblingstatue 2023-04-15 19:26:36 +02:00
parent 5ec0ad0da4
commit 45801205dc
17 changed files with 558 additions and 60 deletions

View file

@ -78,7 +78,7 @@ impl World {
chk.at_mut(local)
}
pub fn save(&self) {
let result = std::fs::create_dir(&self.path);
let result = std::fs::create_dir_all(&self.path);
log::info!("{result:?}");
self.save_meta();
self.player.save(&self.path);